Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology.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.Topology.Tests.TestDynamicTopology,fileNamePrefix="ThermofluidStream_ThermofluidStream_Topology_Tests_TestDynamicTopology",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Topology.Tests.TestDynamicTopology,fileNamePrefix="ThermofluidStream_ThermofluidStream_Topology_Tests_TestDynamicTopology",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.001105/0.001105, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001412/0.001412, allocations: 172.7 kB / 15.95 MB, free: 208 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.489/1.489, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7688/0.7688, allocations: 89.66 MB / 380.7 MB, free: 11.39 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003886/0.0003887, allocations: 10.41 kB / 460.1 MB, free: 24.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1623, allocations: 68.85 MB / 0.5166 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestDynamicTopology): time 1.405/1.568, allocations: 0.5131 GB / 1.03 GB, free: 1.395 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0601/1.628, allocations: 44.61 MB / 1.073 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004888/1.633, allocations: 51.75 kB / 1.073 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.009437/1.642, allocations: 2.478 MB / 1.076 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.6058/2.248, allocations: 13.97 MB / 1.089 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01701/2.265, allocations: 4.32 MB / 1.094 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.02007/2.285, allocations: 10.17 MB / 1.103 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007192/2.293, allocations: 1.99 MB / 1.105 GB, free: 22.77 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01306/2.306, allocations: 3.246 MB / 1.109 GB, free: 22.73 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009792/2.316, allocations: 3.201 MB / 1.112 GB, free: 22.73 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.00221/2.318, allocations: 203.8 kB / 1.112 GB, free: 22.73 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06393/2.382, allocations: 29.05 MB / 1.14 GB, free: 21.3 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.004259/2.386, allocations: 1.397 MB / 1.142 GB, free: 20.84 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.003455/2.39, allocations: 1.047 MB / 1.143 GB, free: 20.81 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.03106/2.421, allocations: 14.19 MB / 1.157 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/2.421, allocations: 0 / 1.157 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.506e-06/2.421, allocations: 0 / 1.157 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.000336/2.421, allocations: 1.781 kB / 1.157 GB, free: 15.23 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1130 * Number of variables: 1130 Notification: Performance of Generate backend data structure: time 0.02309/2.444, allocations: 8.054 MB / 1.164 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/2.444, allocations: 8.031 kB / 1.164 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002152/2.446, allocations: 0.589 MB / 1.165 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002017/2.448, allocations: 0.5288 MB / 1.165 GB, free: 9.57 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005483/2.454, allocations: 2.419 MB / 1.168 GB, free: 7.922 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003124/2.454, allocations: 321.8 kB / 1.168 GB, free: 7.742 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001567/2.456, allocations: 436.4 kB / 1.169 GB, free: 7.457 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02056/2.476, allocations: 7.19 MB / 1.176 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002267/2.477, allocations: 0 / 1.176 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001756/2.478, allocations: 175.2 kB / 1.176 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009332/2.479, allocations: 412.8 kB / 1.176 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01733/2.497, allocations: 8.197 MB / 1.184 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04881/2.546, allocations: 27.33 MB / 1.211 GB, free: 5.227 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007919/2.554, allocations: 4.236 MB / 1.215 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00634/2.56, allocations: 3.515 MB / 1.218 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007386/2.567, allocations: 8.116 MB / 1.226 GB, free: 7.047 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001262/2.567, allocations: 81.67 kB / 1.226 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=475): time 1.628e-05/2.568, allocations: 0 / 1.226 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of matching and sorting (n=479): time 0.0511/2.619, allocations: 19.73 MB / 1.246 GB, free: 9.297 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/2.619, allocations: 129.1 kB / 1.246 GB, free: 9.152 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003974/2.623, allocations: 2.103 MB / 1.248 GB, free: 7.605 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001234/2.624, allocations: 103.1 kB / 1.248 GB, free: 7.559 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001505/2.626, allocations: 1.516 MB / 1.249 GB, free: 6.645 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0026/2.628, allocations: 1.598 MB / 1.251 GB, free: 5.27 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000996/2.629, allocations: 80.59 kB / 1.251 GB, free: 5.254 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0004402/2.63, allocations: 452.5 kB / 1.252 GB, free: 4.867 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005031/2.635, allocations: 2.543 MB / 1.254 GB, free: 3.359 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00516/2.64, allocations: 2.793 MB / 1.257 GB, free: 1.664 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005251/2.645, allocations: 2.882 MB / 1.26 GB, free: 100 kB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.728e-05/2.645, allocations: 3.984 kB / 1.26 GB, free: 96 kB / 0.795 GB Notification: Performance of matching and sorting (n=491) (initialization): time 0.01543/2.661, allocations: 7.398 MB / 1.267 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.18e-05/2.661, allocations: 5.875 kB / 1.267 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.166e-05/2.661, allocations: 0 / 1.267 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006713/2.667, allocations: 1.782 MB / 1.269 GB, free: 9.84 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003577/2.671, allocations: 0.7177 MB / 1.269 GB, free: 9.199 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01462/2.686, allocations: 11.5 MB / 1.28 GB, free: 252 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004309/2.69, allocations: 320.2 kB / 1.281 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001577/2.692, allocations: 263.7 kB / 1.281 GB, free: 15.79 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (404): * Single equations (assignments): 367 * Array equations: 30 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,68.0%) 26,(5,68.0%) 26} * Non-linear torn systems: 5 {1 5,2 4,2 4,1 5,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.004274/2.696, allocations: 1.121 MB / 1.282 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001574/2.697, allocations: 343.8 kB / 1.282 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02345/2.721, allocations: 10.98 MB / 1.293 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002032/2.721, allocations: 48 kB / 1.293 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.311e-05/2.721, allocations: 12.66 kB / 1.293 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001193/2.721, allocations: 23.91 kB / 1.293 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03383/2.755, allocations: 14.88 MB / 1.308 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.748e-05/2.755, allocations: 7.984 kB / 1.308 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003404/2.759, allocations: 0.6874 MB / 1.308 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007092/2.766, allocations: 1.824 MB / 1.31 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001108/2.767, allocations: 171 kB / 1.31 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01512/2.782, allocations: 11.53 MB / 1.322 GB, free: 2.594 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/2.782, allocations: 0 / 1.322 GB, free: 2.594 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02358/2.806, allocations: 11.56 MB / 1.333 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001459/2.807, allocations: 427.1 kB / 1.333 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001502/2.809, allocations: 92.56 kB / 1.333 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004676/2.813, allocations: 317.2 kB / 1.334 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001297/2.815, allocations: 359.4 kB / 1.334 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001013/2.816, allocations: 263.8 kB / 1.334 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.00275/2.819, allocations: 1.52 MB / 1.336 GB, free: 9.164 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2e-07/2.819, allocations: 0 / 1.336 GB, free: 9.164 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.01351/2.832, allocations: 3.456 MB / 1.339 GB, free: 6.156 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (dynamicJunctionNM1.dynamicSplitterN.nozzle_in.inlet.m_flow,dynamicPressureInflow3.inlet.m_flow,dynamicPressureOutflow4.inlet.m_flow,dynamicPressureOutflow5.inlet.m_flow,dynamicJunctionNM.dynamicSplitterN.nozzle_in.inlet.m_flow,dynamicPressureInflow1.inlet.m_flow,dynamicPressureOutflow1.inlet.m_flow,dynamicPressureOutflow2.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 (400): * Single equations (assignments): 363 * Array equations: 30 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,68.0%) 26,(5,68.0%) 26} * Non-linear torn systems: 5 {1 5,2 4,2 4,1 5,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.03959/2.872, allocations: 16.25 MB / 1.355 GB, free: 7.152 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01552/2.887, allocations: 7.077 MB / 1.362 GB, free: 108 kB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 8.275e-06/2.887, allocations: 0 / 1.362 GB, free: 108 kB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.009332/2.897, allocations: 4.15 MB / 1.366 GB, free: 12.03 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0089/2.906, allocations: 1.412 MB / 1.367 GB, free: 10.65 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07569/2.981, allocations: 34.82 MB / 1.401 GB, free: 6.445 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004419/2.986, allocations: 2.93 MB / 1.404 GB, free: 3.477 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.007524/2.993, allocations: 2.761 MB / 1.407 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2984/3.292, allocations: 2.013 MB / 1.409 GB, free: 494.8 MB / 0.92 GB Notification: Performance of SimCode: time 1.353e-06/3.292, allocations: 0 / 1.409 GB, free: 494.8 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.269/3.561, allocations: 180.2 MB / 1.585 GB, free: 365.5 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001661/3.561, allocations: 266.5 kB / 1.585 GB, free: 365.2 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.951/12.51, allocations: 7.516 kB / 1.585 GB, free: 365.2 MB / 0.92 GB (rm -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe >> ../files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Topology_Tests_TestDynamicTopology_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Topology_Tests_TestDynamicTopology.fmu > ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology_res.mat does not exist to compare? outputFormat=mat