Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.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 (/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: 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_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_ThermofluidStream.Undirected.Topology.Tests.TestConnectors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001609/0.001609, allocations: 108.4 kB / 16.41 MB, free: 6.52 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.00174/0.00174, allocations: 189.5 kB / 17.35 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6713/0.6713, allocations: 91.2 MB / 382.4 MB, free: 7.531 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001614/0.001614, allocations: 80.16 kB / 0.5175 GB, free: 4.098 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.29, allocations: 67.68 MB / 0.5836 GB, free: 13.96 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.4868/0.7769, allocations: 225 MB / 0.8034 GB, free: 408 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0289/0.8058, allocations: 30.88 MB / 0.8335 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00315/0.809, allocations: 136.2 kB / 0.8336 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004531/0.8135, allocations: 1.736 MB / 0.8353 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007479/0.8211, allocations: 2.691 MB / 0.838 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.007027/0.8281, allocations: 2.606 MB / 0.8405 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.006296/0.8345, allocations: 4.744 MB / 0.8451 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001776/0.8363, allocations: 1.048 MB / 0.8462 GB, free: 5.883 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005491/0.8418, allocations: 2.398 MB / 0.8485 GB, free: 3.84 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005026/0.8468, allocations: 2.286 MB / 0.8507 GB, free: 1.734 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001055/0.8479, allocations: 268 kB / 0.851 GB, free: 1.473 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009139/0.8571, allocations: 3.725 MB / 0.8546 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0008873/0.858, allocations: 0.6284 MB / 0.8552 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00292/0.8609, allocations: 1.549 MB / 0.8568 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0107/0.8716, allocations: 4.96 MB / 0.8616 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.8717, allocations: 0 / 0.8616 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.443e-06/0.8717, allocations: 0 / 0.8616 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001272/0.8718, allocations: 4 kB / 0.8616 GB, free: 7.594 MB / 0.6075 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.007974/0.8798, allocations: 3.643 MB / 0.8652 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.8799, allocations: 8.031 kB / 0.8652 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007579/0.8806, allocations: 350.8 kB / 0.8655 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003726/0.8844, allocations: 2.031 MB / 0.8675 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001218/0.8845, allocations: 156.2 kB / 0.8676 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003986/0.8849, allocations: 223.9 kB / 0.8679 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004546/0.8895, allocations: 2.466 MB / 0.8703 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.721e-05/0.8895, allocations: 2.812 kB / 0.8703 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001758/0.8897, allocations: 87.98 kB / 0.8703 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.06e-05/0.8897, allocations: 52 kB / 0.8704 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004038/0.8938, allocations: 2.225 MB / 0.8726 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01395/0.9078, allocations: 11.21 MB / 0.8835 GB, free: 424 kB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003658/0.9114, allocations: 1.765 MB / 0.8852 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001624/0.9131, allocations: 0.906 MB / 0.8861 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00865/0.9218, allocations: 6.523 MB / 0.8925 GB, free: 6.457 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001999/0.9238, allocations: 1.055 MB / 0.8935 GB, free: 5.387 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=183): time 4.348e-06/0.9238, allocations: 0 / 0.8935 GB, free: 5.387 MB / 0.6387 GB Notification: Performance of matching and sorting (n=184): time 0.01292/0.9367, allocations: 6.161 MB / 0.8995 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.712e-05/0.9368, allocations: 95.11 kB / 0.8996 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002458/0.9393, allocations: 1.841 MB / 0.9014 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001625/0.9395, allocations: 57.7 kB / 0.9015 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008775/0.9404, allocations: 1.082 MB / 0.9025 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005812/0.9409, allocations: 0.6531 MB / 0.9032 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006006/0.9416, allocations: 299.5 kB / 0.9035 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.9417, allocations: 309.1 kB / 0.9038 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001351/0.943, allocations: 0.6677 MB / 0.9044 GB, free: 9.922 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001604/0.9446, allocations: 0.8505 MB / 0.9052 GB, free: 9.031 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00318/0.9478, allocations: 1.665 MB / 0.9069 GB, free: 7.316 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.9479, allocations: 4 kB / 0.9069 GB, free: 7.312 MB / 0.6544 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.005575/0.9534, allocations: 2.562 MB / 0.9094 GB, free: 4.711 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.507e-05/0.9535, allocations: 37.8 kB / 0.9094 GB, free: 4.668 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.9535, allocations: 3.938 kB / 0.9094 GB, free: 4.664 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002055/0.9556, allocations: 0.6163 MB / 0.91 GB, free: 4.02 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/0.9568, allocations: 295.6 kB / 0.9103 GB, free: 3.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01734/0.9741, allocations: 16.24 MB / 0.9262 GB, free: 2.242 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001457/0.9756, allocations: 103.4 kB / 0.9263 GB, free: 2.141 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002347/0.9759, allocations: 75.97 kB / 0.9263 GB, free: 2.066 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (163): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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,4,100.0%), (1,2,100.0%), (1,2,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.000936/0.9768, allocations: 433.4 kB / 0.9267 GB, free: 1.633 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005083/0.9773, allocations: 266.3 kB / 0.927 GB, free: 1.371 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006548/0.9839, allocations: 3.447 MB / 0.9304 GB, free: 13.92 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.393e-05/0.9839, allocations: 15.91 kB / 0.9304 GB, free: 13.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.9839, allocations: 0 / 0.9304 GB, free: 13.9 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005452/0.9845, allocations: 331.1 kB / 0.9307 GB, free: 13.56 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003333/0.9848, allocations: 47.89 kB / 0.9307 GB, free: 13.51 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009063/0.9857, allocations: 63.95 kB / 0.9308 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003277/0.9861, allocations: 181.7 kB / 0.931 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006343/0.9924, allocations: 2.683 MB / 0.9336 GB, free: 10.6 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00569/0.9981, allocations: 3.415 MB / 0.9369 GB, free: 7.16 MB / 0.6856 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001538/0.9997, allocations: 0.9097 MB / 0.9378 GB, free: 6.246 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001792/1.002, allocations: 1.304 MB / 0.9391 GB, free: 4.934 MB / 0.6856 GB Notification: Performance of Backend: time 4.51e-07/1.002, allocations: 0 / 0.9391 GB, free: 4.934 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.006734/1.008, allocations: 3.635 MB / 0.9426 GB, free: 1.277 MB / 0.6856 GB Notification: Performance of SimCode: time 0.008476/1.017, allocations: 5.731 MB / 0.9482 GB, free: 11.51 MB / 0.7012 GB Notification: Performance of Templates: time 0.08414/1.101, allocations: 55.72 MB / 1.003 GB, free: 4.16 MB / 0.7481 GB make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.makefile (rm -f ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.sim & ./ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe 2>&1)