Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001334/0.001335, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7498/0.7498, allocations: 89.64 MB / 380.6 MB, free: 11.44 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003955/0.0003955, allocations: 11.22 kB / 460 MB, free: 24.39 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1587, allocations: 68.84 MB / 0.5165 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.5303/0.689, allocations: 159.1 MB / 0.6718 GB, free: 11.03 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01418/0.7032, allocations: 12.3 MB / 0.6838 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008977/0.7042, allocations: 19.88 kB / 0.6838 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00121/0.7054, allocations: 426 kB / 0.6842 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003388/0.7088, allocations: 1.145 MB / 0.6854 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003672/0.7125, allocations: 1.149 MB / 0.6865 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001688/0.7142, allocations: 0.8194 MB / 0.6873 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003928/0.7146, allocations: 208.7 kB / 0.6875 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001727/0.7163, allocations: 0.8104 MB / 0.6883 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004024/0.7167, allocations: 386.2 kB / 0.6886 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.356e-05/0.7168, allocations: 40 kB / 0.6887 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005132/0.722, allocations: 2.505 MB / 0.6911 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000138/0.7221, allocations: 139.4 kB / 0.6913 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002233/0.7223, allocations: 185.2 kB / 0.6914 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002046/0.7244, allocations: 1.237 MB / 0.6926 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.584e-06/0.7244, allocations: 0 / 0.6926 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.274e-06/0.7244, allocations: 0 / 0.6926 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.343e-05/0.7244, allocations: 0 / 0.6926 GB, free: 5.641 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002531/0.727, allocations: 1.26 MB / 0.6939 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.727, allocations: 11.97 kB / 0.6939 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001491/0.7272, allocations: 118.5 kB / 0.694 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001584/0.7288, allocations: 226.6 kB / 0.6942 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007414/0.7295, allocations: 0.5025 MB / 0.6947 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002302/0.7298, allocations: 188.7 kB / 0.6949 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.7299, allocations: 75.95 kB / 0.6949 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001519/0.7314, allocations: 0.8453 MB / 0.6958 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.7314, allocations: 0 / 0.6958 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.044e-05/0.7315, allocations: 28 kB / 0.6958 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.7315, allocations: 16 kB / 0.6958 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00136/0.7329, allocations: 0.687 MB / 0.6965 GB, free: 1.555 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00405/0.737, allocations: 3.173 MB / 0.6996 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/0.7384, allocations: 0.6279 MB / 0.7002 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006864/0.7391, allocations: 0.9029 MB / 0.7011 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.7391, allocations: 39.12 kB / 0.7011 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=58): time 1.738e-05/0.7391, allocations: 0 / 0.7011 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of matching and sorting (n=58): time 0.004782/0.7439, allocations: 1.872 MB / 0.7029 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.744, allocations: 59.97 kB / 0.703 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005929/0.7446, allocations: 0.5109 MB / 0.7035 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.123e-05/0.7446, allocations: 33.7 kB / 0.7035 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002429/0.7449, allocations: 372.1 kB / 0.7039 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000151/0.745, allocations: 201.1 kB / 0.7041 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.802e-05/0.7451, allocations: 12 kB / 0.7041 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.7453, allocations: 378.8 kB / 0.7045 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006734/0.7459, allocations: 277 kB / 0.7047 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006497/0.7466, allocations: 336.6 kB / 0.705 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006619/0.7473, allocations: 282.1 kB / 0.7053 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.7473, allocations: 3.938 kB / 0.7053 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002697/0.75, allocations: 1.137 MB / 0.7064 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.75, allocations: 4 kB / 0.7064 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.75, allocations: 0 / 0.7064 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000805/0.7508, allocations: 266.3 kB / 0.7067 GB, free: 6.469 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007538/0.7516, allocations: 155.8 kB / 0.7068 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005436/0.757, allocations: 4.981 MB / 0.7117 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000639/0.7577, allocations: 91.52 kB / 0.7118 GB, free: 0.8555 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.232e-05/0.7578, allocations: 39.98 kB / 0.7118 GB, free: 0.8164 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,88.9%) 1,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003241/0.7581, allocations: 185.8 kB / 0.712 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.7582, allocations: 67.16 kB / 0.7121 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003532/0.7618, allocations: 1.52 MB / 0.7135 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/0.7618, allocations: 7.938 kB / 0.7136 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.7618, allocations: 4 kB / 0.7136 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.7618, allocations: 3.984 kB / 0.7136 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004066/0.7659, allocations: 2.157 MB / 0.7157 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.7659, allocations: 4 kB / 0.7157 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007139/0.7666, allocations: 135.8 kB / 0.7158 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007534/0.7674, allocations: 266.4 kB / 0.7161 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.464e-05/0.7675, allocations: 27.98 kB / 0.7161 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005407/0.7729, allocations: 4.998 MB / 0.721 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.7729, allocations: 7.953 kB / 0.721 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003395/0.7763, allocations: 1.562 MB / 0.7225 GB, free: 5.266 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003329/0.7767, allocations: 204 kB / 0.7227 GB, free: 5.047 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.7768, allocations: 23.94 kB / 0.7227 GB, free: 5.023 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005081/0.7773, allocations: 55.95 kB / 0.7228 GB, free: 4.969 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/0.7775, allocations: 56.38 kB / 0.7228 GB, free: 4.914 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-05/0.7775, allocations: 31.98 kB / 0.7228 GB, free: 4.883 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004819/0.778, allocations: 378.8 kB / 0.7232 GB, free: 4.516 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.778, allocations: 0 / 0.7232 GB, free: 4.516 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001265/0.7793, allocations: 383.3 kB / 0.7236 GB, free: 4.141 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,flowResistanceB.inlet.m_flow,flowResistanceA.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,88.9%) 1,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004626/0.7839, allocations: 2.887 MB / 0.7264 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002407/0.7863, allocations: 1.147 MB / 0.7275 GB, free: 4 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.7864, allocations: 0 / 0.7275 GB, free: 4 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001611/0.788, allocations: 0.8579 MB / 0.7283 GB, free: 15.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009725/0.789, allocations: 164.5 kB / 0.7285 GB, free: 14.95 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009136/0.7981, allocations: 5.255 MB / 0.7336 GB, free: 9.602 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007321/0.7989, allocations: 0.9575 MB / 0.7346 GB, free: 8.617 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001215/0.8001, allocations: 428.7 kB / 0.735 GB, free: 8.203 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005546/0.8007, allocations: 331.3 kB / 0.7353 GB, free: 7.879 MB / 0.545 GB Notification: Performance of SimCode: time 2.605e-06/0.8007, allocations: 0 / 0.7353 GB, free: 7.879 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03999/0.8407, allocations: 22.21 MB / 0.757 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002191/0.841, allocations: 266.5 kB / 0.7572 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.508/3.349, allocations: 0 / 0.7572 GB, free: 1.625 MB / 0.5606 GB (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_res.mat does not exist to compare? outputFormat=mat