Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.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.Undirected.Topology.Tests.TestConnectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_fore1.rear.m_flow|boundary_fore2.rear.m_flow|boundary_fore3.rear.m_flow|boundary_fore5.rear.m_flow|boundary_rear.fore.m_flow|connectRearOutlet.rear.m_flow|flowResistance2.rear.m_flow|pulse.T_start|pulse.count|sink3.inlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors") translateModel(ThermofluidStream.Undirected.Topology.Tests.TestConnectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_fore1.rear.m_flow|boundary_fore2.rear.m_flow|boundary_fore3.rear.m_flow|boundary_fore5.rear.m_flow|boundary_rear.fore.m_flow|connectRearOutlet.rear.m_flow|flowResistance2.rear.m_flow|pulse.T_start|pulse.count|sink3.inlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009215/0.0009216, allocations: 171.2 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.147/1.147, allocations: 205 MB / 221.9 MB, free: 9.145 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.0006788/0.0006788, allocations: 94.23 kB / 269.9 MB, free: 8.66 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.5925/0.5925, allocations: 90.51 MB / 408.3 MB, free: 3.922 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002786/0.0002786, allocations: 12.22 kB / 484.9 MB, free: 7.191 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2333, allocations: 65.8 MB / 0.5378 GB, free: 34.93 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.3929/0.6263, allocations: 221.7 MB / 0.7543 GB, free: 148 kB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.02647/0.6528, allocations: 30.6 MB / 0.7842 GB, free: 10.42 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002798/0.6556, allocations: 47.72 kB / 0.7842 GB, free: 10.42 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.003656/0.6593, allocations: 1.507 MB / 0.7857 GB, free: 9.812 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.005579/0.6649, allocations: 2.395 MB / 0.788 GB, free: 8.98 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.005434/0.6703, allocations: 2.27 MB / 0.7903 GB, free: 7.844 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.004918/0.6753, allocations: 5.48 MB / 0.7956 GB, free: 4.609 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001057/0.6763, allocations: 0.8179 MB / 0.7964 GB, free: 3.766 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003406/0.6797, allocations: 1.855 MB / 0.7982 GB, free: 2.082 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002313/0.6821, allocations: 2.13 MB / 0.8003 GB, free: 108 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0002051/0.6823, allocations: 104 kB / 0.8004 GB, free: 4 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007744/0.69, allocations: 4.196 MB / 0.8045 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0003744/0.6904, allocations: 426.9 kB / 0.8049 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.001297/0.6917, allocations: 1.214 MB / 0.8061 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.006566/0.6983, allocations: 4.575 MB / 0.8106 GB, free: 6.402 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.6983, allocations: 0 / 0.8106 GB, free: 6.402 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.346e-06/0.6983, allocations: 0 / 0.8106 GB, free: 6.402 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.914e-05/0.6984, allocations: 3.938 kB / 0.8106 GB, free: 6.398 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 532 * Number of variables: 532 Notification: Performance of Generate backend data structure: time 0.004948/0.7033, allocations: 2.656 MB / 0.8132 GB, free: 3.695 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.7034, allocations: 8.031 kB / 0.8132 GB, free: 3.688 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004281/0.7038, allocations: 265.8 kB / 0.8134 GB, free: 3.426 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001365/0.7052, allocations: 1.118 MB / 0.8145 GB, free: 2.273 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001134/0.7053, allocations: 152.4 kB / 0.8147 GB, free: 2.121 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002722/0.7056, allocations: 215.8 kB / 0.8149 GB, free: 1.91 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003757/0.7093, allocations: 2.45 MB / 0.8172 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.768e-05/0.7094, allocations: 0 / 0.8172 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001588/0.7096, allocations: 80 kB / 0.8173 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.077e-05/0.7096, allocations: 60 kB / 0.8174 GB, free: 15.26 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003613/0.7132, allocations: 2.285 MB / 0.8196 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0116/0.7248, allocations: 11.91 MB / 0.8312 GB, free: 15.87 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003503/0.7284, allocations: 2.311 MB / 0.8335 GB, free: 13.54 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00156/0.73, allocations: 1.086 MB / 0.8346 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006952/0.7369, allocations: 6.418 MB / 0.8408 GB, free: 5.391 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001967/0.7389, allocations: 1.247 MB / 0.8421 GB, free: 4.133 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=217): time 3.907e-06/0.7389, allocations: 4 kB / 0.8421 GB, free: 4.129 MB / 0.5573 GB Notification: Performance of matching and sorting (n=218): time 0.01124/0.7502, allocations: 6.363 MB / 0.8483 GB, free: 13.5 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.03e-05/0.7502, allocations: 103 kB / 0.8484 GB, free: 13.38 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.7513, allocations: 0.978 MB / 0.8493 GB, free: 12.39 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001127/0.7514, allocations: 61.7 kB / 0.8494 GB, free: 12.33 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004981/0.7519, allocations: 0.7678 MB / 0.8501 GB, free: 11.55 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004908/0.7524, allocations: 0.7322 MB / 0.8508 GB, free: 10.82 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.656e-05/0.7525, allocations: 36 kB / 0.8509 GB, free: 10.79 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.7526, allocations: 381.8 kB / 0.8512 GB, free: 10.41 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00137/0.754, allocations: 0.8122 MB / 0.852 GB, free: 9.598 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001553/0.7556, allocations: 1.004 MB / 0.853 GB, free: 8.555 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003136/0.7587, allocations: 1.984 MB / 0.855 GB, free: 6.527 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.7587, allocations: 0 / 0.855 GB, free: 6.527 MB / 0.573 GB Notification: Performance of matching and sorting (n=240) (initialization): time 0.005093/0.7639, allocations: 2.817 MB / 0.8577 GB, free: 3.664 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.165e-05/0.7639, allocations: 29.7 kB / 0.8577 GB, free: 3.629 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.7639, allocations: 4 kB / 0.8577 GB, free: 3.625 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001751/0.7657, allocations: 0.6222 MB / 0.8583 GB, free: 2.977 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/0.7667, allocations: 299.6 kB / 0.8586 GB, free: 2.684 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01478/0.7815, allocations: 15.21 MB / 0.8735 GB, free: 2.281 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/0.7829, allocations: 187 kB / 0.8737 GB, free: 2.098 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001814/0.7831, allocations: 79.97 kB / 0.8737 GB, free: 2.02 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 16 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(3,18,77.8%), (1,4,100.0%), (1,2,100.0%), (1,2,100.0%), (1,4,100.0%), (1,1,100.0%), (1,1,100.0%), (1,8,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000814/0.7839, allocations: 401.5 kB / 0.8741 GB, free: 1.617 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003708/0.7843, allocations: 169.8 kB / 0.8743 GB, free: 1.449 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007417/0.7917, allocations: 3.353 MB / 0.8776 GB, free: 14.13 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.419e-05/0.7917, allocations: 15.95 kB / 0.8776 GB, free: 14.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.7917, allocations: 0 / 0.8776 GB, free: 14.12 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003113/0.792, allocations: 258.5 kB / 0.8778 GB, free: 13.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002325/0.7923, allocations: 52 kB / 0.8779 GB, free: 13.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009698/0.7933, allocations: 155.5 kB / 0.878 GB, free: 13.64 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003396/0.7936, allocations: 217.9 kB / 0.8782 GB, free: 13.43 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006599/0.8002, allocations: 3.218 MB / 0.8814 GB, free: 10.23 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006289/0.8065, allocations: 4.097 MB / 0.8854 GB, free: 6.078 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001746/0.8083, allocations: 1.178 MB / 0.8865 GB, free: 4.902 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007503/0.809, allocations: 0.671 MB / 0.8872 GB, free: 4.227 MB / 0.6042 GB Notification: Performance of Backend: time 3.91e-07/0.8091, allocations: 0 / 0.8872 GB, free: 4.227 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.006695/0.8158, allocations: 4.417 MB / 0.8915 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of SimCode: time 0.006575/0.8223, allocations: 5.907 MB / 0.8973 GB, free: 9.707 MB / 0.6198 GB Notification: Performance of Templates: time 0.2474/1.07, allocations: 51.47 MB / 0.9475 GB, free: 257 MB / 0.6355 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe 2>&1)