Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestDynamicTopology.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Topology.Tests.TestDynamicTopology,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|dynamicJunctionNM.dynamicJunctionN.junction.outlet.m_flow|dynamicJunctionNM1.dynamicJunctionN.junction.outlet.m_flow|sink.inlet.m_flow|sink1.inlet.m_flow|sink3.inlet.m_flow|sink4.inlet.m_flow|source.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestDynamicTopology") translateModel(ThermofluidStream.Topology.Tests.TestDynamicTopology,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|dynamicJunctionNM.dynamicJunctionN.junction.outlet.m_flow|dynamicJunctionNM1.dynamicJunctionN.junction.outlet.m_flow|sink.inlet.m_flow|sink1.inlet.m_flow|sink3.inlet.m_flow|sink4.inlet.m_flow|source.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestDynamicTopology") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008841/0.0008885, allocations: 171.4 kB / 16.11 MB, free: 5.688 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.168/1.168, allocations: 205 MB / 221.9 MB, free: 9.051 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007695/0.0007695, allocations: 88.98 kB / 269.9 MB, free: 8.656 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.6615/0.6615, allocations: 90.51 MB / 408.3 MB, free: 3.934 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002773/0.0002773, allocations: 15.94 kB / 484.9 MB, free: 7.203 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2656, allocations: 65.8 MB / 0.5378 GB, free: 35 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestDynamicTopology): time 1.035/1.301, allocations: 0.6133 GB / 1.151 GB, free: 9.492 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0521/1.353, allocations: 54.67 MB / 1.204 GB, free: 2.645 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003981/1.357, allocations: 55.75 kB / 1.205 GB, free: 2.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.00811/1.365, allocations: 3.587 MB / 1.208 GB, free: 14.99 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.4234/1.788, allocations: 16.16 MB / 1.224 GB, free: 4.832 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.02664/1.815, allocations: 10.33 MB / 1.234 GB, free: 4.68 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.01213/1.827, allocations: 11.86 MB / 1.245 GB, free: 4.672 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003065/1.83, allocations: 2.222 MB / 1.248 GB, free: 20.21 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00673/1.837, allocations: 3.266 MB / 1.251 GB, free: 20.18 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004348/1.841, allocations: 3.189 MB / 1.254 GB, free: 20.18 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.000413/1.842, allocations: 193 kB / 1.254 GB, free: 20.18 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.07187/1.914, allocations: 48.42 MB / 1.301 GB, free: 17.48 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.002268/1.916, allocations: 1.354 MB / 1.303 GB, free: 17.08 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.003495/1.92, allocations: 2.402 MB / 1.305 GB, free: 16.94 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.06186/1.981, allocations: 27.36 MB / 1.332 GB, free: 1.57 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/1.981, allocations: 4 kB / 1.332 GB, free: 1.566 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.974e-06/1.981, allocations: 4 kB / 1.332 GB, free: 1.562 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0002789/1.982, allocations: 0 / 1.332 GB, free: 1.562 MB / 0.7761 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.02244/2.004, allocations: 9.107 MB / 1.341 GB, free: 8.906 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/2.004, allocations: 8.031 kB / 1.341 GB, free: 8.898 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001421/2.006, allocations: 0.5057 MB / 1.341 GB, free: 8.387 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003152/2.009, allocations: 2.379 MB / 1.344 GB, free: 6.754 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001684/2.009, allocations: 312.3 kB / 1.344 GB, free: 6.578 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005845/2.01, allocations: 430.9 kB / 1.344 GB, free: 6.301 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009382/2.019, allocations: 7.375 MB / 1.351 GB, free: 1.406 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.915e-05/2.019, allocations: 0 / 1.351 GB, free: 1.406 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003622/2.019, allocations: 166 kB / 1.352 GB, free: 1.375 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003879/2.02, allocations: 411.8 kB / 1.352 GB, free: 1.047 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009872/2.03, allocations: 8.344 MB / 1.36 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02667/2.056, allocations: 27.77 MB / 1.387 GB, free: 3.25 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005891/2.062, allocations: 4.454 MB / 1.392 GB, free: 0.6172 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004315/2.067, allocations: 3.713 MB / 1.395 GB, free: 14.43 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0126/2.079, allocations: 17.25 MB / 1.412 GB, free: 10.28 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.807e-05/2.079, allocations: 85.28 kB / 1.412 GB, free: 10.19 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=491): time 1.019e-05/2.079, allocations: 0 / 1.412 GB, free: 10.19 MB / 0.8542 GB Notification: Performance of matching and sorting (n=495): time 0.03314/2.112, allocations: 20.65 MB / 1.432 GB, free: 5.254 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.001e-05/2.113, allocations: 129.1 kB / 1.432 GB, free: 5.109 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001836/2.114, allocations: 1.659 MB / 1.434 GB, free: 3.41 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000311/2.115, allocations: 101.2 kB / 1.434 GB, free: 3.309 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007678/2.116, allocations: 1.402 MB / 1.436 GB, free: 1.887 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0011/2.117, allocations: 1.651 MB / 1.437 GB, free: 260 kB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000275/2.117, allocations: 78.17 kB / 1.437 GB, free: 188 kB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002007/2.117, allocations: 462.4 kB / 1.438 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003548/2.121, allocations: 2.704 MB / 1.44 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003969/2.125, allocations: 2.968 MB / 1.443 GB, free: 10.05 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00832/2.133, allocations: 6.123 MB / 1.449 GB, free: 3.93 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.356e-06/2.133, allocations: 4 kB / 1.449 GB, free: 3.926 MB / 0.8855 GB Notification: Performance of matching and sorting (n=503) (initialization): time 0.01216/2.145, allocations: 7.729 MB / 1.457 GB, free: 12.21 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/2.145, allocations: 11.98 kB / 1.457 GB, free: 12.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/2.145, allocations: 3.984 kB / 1.457 GB, free: 12.2 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006145/2.151, allocations: 1.844 MB / 1.459 GB, free: 10.34 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002712/2.154, allocations: 0.7636 MB / 1.459 GB, free: 9.609 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01203/2.166, allocations: 11.55 MB / 1.471 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003053/2.169, allocations: 325.4 kB / 1.471 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007258/2.17, allocations: 389.8 kB / 1.471 GB, free: 13.01 MB / 0.9167 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): 363 * Array equations: 30 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,26,68.0%), (5,26,68.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(2,4), (2,4), (2,4), (1,5), (2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.002023/2.172, allocations: 1.111 MB / 1.472 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009553/2.173, allocations: 316.1 kB / 1.473 GB, free: 11.62 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01795/2.191, allocations: 9.665 MB / 1.482 GB, free: 1.992 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.042e-05/2.191, allocations: 23.91 kB / 1.482 GB, free: 1.969 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/2.191, allocations: 0 / 1.482 GB, free: 1.969 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008631/2.192, allocations: 365 kB / 1.482 GB, free: 1.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005647/2.192, allocations: 97.16 kB / 1.483 GB, free: 1.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001997/2.194, allocations: 318.5 kB / 1.483 GB, free: 1.191 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007112/2.195, allocations: 445.3 kB / 1.483 GB, free: 0.7578 MB / 0.9167 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01564/2.211, allocations: 8.585 MB / 1.492 GB, free: 8.188 MB / 0.9323 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01569/2.227, allocations: 11.65 MB / 1.503 GB, free: 12.43 MB / 0.948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004352/2.231, allocations: 3.443 MB / 1.506 GB, free: 8.996 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001421/2.232, allocations: 1.147 MB / 1.508 GB, free: 7.828 MB / 0.948 GB Notification: Performance of Backend: time 3.61e-07/2.232, allocations: 0 / 1.508 GB, free: 7.828 MB / 0.948 GB Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {dynamicPressureInflow3.inlet.state.X[1], dynamicPressureInflow3.inlet.state.X[2]} = $TMP_ThermofluidStream_Topology_Tests_TestDynamicTopology_source3_outlet_Medium_ThermodynamicState1.X Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {dynamicPressureInflow1.inlet.state.X[1], dynamicPressureInflow1.inlet.state.X[2]} = $TMP_ThermofluidStream_Topology_Tests_TestDynamicTopology_source1_outlet_Medium_ThermodynamicState294.X Notification: Performance of simCode: created initialization part: time 0.03703/2.269, allocations: 14.99 MB / 1.522 GB, free: 9.57 MB / 0.9636 GB Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {dynamicPressureInflow1.inlet.state.X[1], dynamicPressureInflow1.inlet.state.X[2]} = $TMP_ThermofluidStream_Topology_Tests_TestDynamicTopology_source1_outlet_Medium_ThermodynamicState1189.X Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {dynamicPressureInflow3.inlet.state.X[1], dynamicPressureInflow3.inlet.state.X[2]} = $TMP_ThermofluidStream_Topology_Tests_TestDynamicTopology_source3_outlet_Medium_ThermodynamicState1459.X Notification: Performance of SimCode: time 0.01311/2.283, allocations: 10.96 MB / 1.533 GB, free: 14.58 MB / 0.9792 GB Notification: Performance of Templates: time 0.4484/2.731, allocations: 244.1 MB / 1.771 GB, free: 417.7 MB / 0.9948 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestDynamicTopology.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestDynamicTopology.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestDynamicTopology -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe 2>&1)