Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.MCV.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.FlowControl.Tests.MCV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="Time|boundaryFore10.rear.m_flow|boundaryFore11.rear.m_flow|boundaryFore6.rear.m_flow|boundaryFore7.rear.m_flow|boundaryFore8.rear.m_flow|boundaryRear.fore.m_flow|boundaryRear2.fore.m_flow|boundaryRear3.fore.m_flow|boundaryRear6.fore.m_flow|boundaryRear7.fore.m_flow|mCV.dp_int|mCV1.dp_int|mCV2.dp_int|mCV3.dp_int|mCV4.dp_int|mCV5.dp_int|mCV6.dp_int|mCV7.dp_int|mCV8.dp_int|mCV9.dp_int|pulse1.T_start|pulse1.count|pulse3.T_start|pulse3.count|pulse5.T_start|pulse5.count|trapezoid.T_start|trapezoid.count|trapezoid1.T_start|trapezoid1.count|trapezoid2.T_start|trapezoid2.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.MCV") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.MCV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="Time|boundaryFore10.rear.m_flow|boundaryFore11.rear.m_flow|boundaryFore6.rear.m_flow|boundaryFore7.rear.m_flow|boundaryFore8.rear.m_flow|boundaryRear.fore.m_flow|boundaryRear2.fore.m_flow|boundaryRear3.fore.m_flow|boundaryRear6.fore.m_flow|boundaryRear7.fore.m_flow|mCV.dp_int|mCV1.dp_int|mCV2.dp_int|mCV3.dp_int|mCV4.dp_int|mCV5.dp_int|mCV6.dp_int|mCV7.dp_int|mCV8.dp_int|mCV9.dp_int|pulse1.T_start|pulse1.count|pulse3.T_start|pulse3.count|pulse5.T_start|pulse5.count|trapezoid.T_start|trapezoid.count|trapezoid1.T_start|trapezoid1.count|trapezoid2.T_start|trapezoid2.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.MCV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 110.6 kB / 16.42 MB, free: 6.508 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.00166/0.00166, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.344/1.344, 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.6842/0.6842, allocations: 91.18 MB / 382.4 MB, free: 7.496 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001657, allocations: 83.88 kB / 0.5175 GB, free: 4.059 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3043, allocations: 67.68 MB / 0.5836 GB, free: 14.01 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.MCV): time 0.4892/0.7935, allocations: 231.4 MB / 0.8096 GB, free: 276 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0304/0.824, allocations: 28.5 MB / 0.8374 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004629/0.8287, allocations: 158.3 kB / 0.8376 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.005311/0.834, allocations: 1.836 MB / 0.8394 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01293/0.847, allocations: 4.592 MB / 0.8439 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00923/0.8562, allocations: 3.208 MB / 0.847 GB, free: 7.156 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00988/0.8661, allocations: 6.978 MB / 0.8538 GB, free: 1.402 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002563/0.8687, allocations: 1.033 MB / 0.8548 GB, free: 344 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007192/0.8759, allocations: 3.335 MB / 0.8581 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005217/0.8812, allocations: 3.259 MB / 0.8613 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001437/0.8827, allocations: 340 kB / 0.8616 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01183/0.8945, allocations: 4.913 MB / 0.8664 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001334/0.8959, allocations: 0.8606 MB / 0.8672 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003836/0.8997, allocations: 2.224 MB / 0.8694 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01296/0.9127, allocations: 6.609 MB / 0.8758 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.9127, allocations: 3.984 kB / 0.8758 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9127, allocations: 0 / 0.8758 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001551/0.9129, allocations: 0 / 0.8758 GB, free: 12.18 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 847 * Number of variables: 847 Notification: Performance of Generate backend data structure: time 0.01119/0.9241, allocations: 5.243 MB / 0.881 GB, free: 6.906 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.9241, allocations: 8.031 kB / 0.881 GB, free: 6.898 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009376/0.9251, allocations: 498.9 kB / 0.8815 GB, free: 6.406 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004822/0.9299, allocations: 2.619 MB / 0.884 GB, free: 3.801 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001716/0.9301, allocations: 251 kB / 0.8842 GB, free: 3.555 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004892/0.9306, allocations: 356.2 kB / 0.8846 GB, free: 3.207 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006944/0.9376, allocations: 4.025 MB / 0.8885 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.297e-05/0.9376, allocations: 7.938 kB / 0.8885 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002901/0.9379, allocations: 144 kB / 0.8887 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.145e-05/0.938, allocations: 87.94 kB / 0.8887 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007093/0.9451, allocations: 3.838 MB / 0.8925 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01991/0.965, allocations: 17.46 MB / 0.9095 GB, free: 8.406 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007524/0.9726, allocations: 3.699 MB / 0.9132 GB, free: 4.621 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003552/0.9762, allocations: 1.856 MB / 0.915 GB, free: 2.742 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01496/0.9911, allocations: 11.99 MB / 0.9267 GB, free: 5.414 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004106/0.9953, allocations: 2.124 MB / 0.9287 GB, free: 3.234 MB / 0.67 GB Notification: Performance of pre-optimization done (n=430): time 7.875e-06/0.9953, allocations: 3.938 kB / 0.9288 GB, free: 3.23 MB / 0.67 GB Notification: Performance of matching and sorting (n=430): time 0.01411/1.009, allocations: 6.252 MB / 0.9349 GB, free: 12.76 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001693/1.01, allocations: 339.8 kB / 0.9352 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00354/1.013, allocations: 2.527 MB / 0.9376 GB, free: 9.848 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0003557/1.014, allocations: 105.7 kB / 0.9378 GB, free: 9.738 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001258/1.015, allocations: 1.482 MB / 0.9392 GB, free: 8.246 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001283/1.016, allocations: 1.428 MB / 0.9406 GB, free: 6.832 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001159/1.017, allocations: 0.6895 MB / 0.9413 GB, free: 6.133 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.098e-05/1.017, allocations: 301.1 kB / 0.9416 GB, free: 5.836 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003035/1.02, allocations: 1.3 MB / 0.9428 GB, free: 4.531 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004014/1.024, allocations: 1.879 MB / 0.9447 GB, free: 2.457 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007537/1.032, allocations: 3.553 MB / 0.9481 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.8e-05/1.032, allocations: 4 kB / 0.9481 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of matching and sorting (n=515) (initialization): time 0.01039/1.042, allocations: 4.582 MB / 0.9526 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001316/1.043, allocations: 183.3 kB / 0.9528 GB, free: 9.801 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.845e-05/1.043, allocations: 12 kB / 0.9528 GB, free: 9.789 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001135/1.044, allocations: 376.8 kB / 0.9532 GB, free: 9.391 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003588/1.047, allocations: 0.8932 MB / 0.954 GB, free: 8.496 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01142/1.059, allocations: 14.94 MB / 0.9686 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003243/1.062, allocations: 423.6 kB / 0.969 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007775/1.063, allocations: 187.9 kB / 0.9692 GB, free: 7.559 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 30 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,$whenCondition6,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition4,trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition2,pulse1.count,$PRE.pulse1.count,pulse1.T_start,$PRE.pulse1.T_start,$whenCondition1,pulse3.count,$PRE.pulse3.count,pulse3.T_start,$PRE.pulse3.T_start,$whenCondition3,pulse5.count,$PRE.pulse5.count,pulse5.T_start,$PRE.pulse5.T_start,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (483): * Single equations (assignments): 467 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001859/1.065, allocations: 0.5895 MB / 0.9698 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001243/1.066, allocations: 418.8 kB / 0.9702 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0128/1.079, allocations: 5.903 MB / 0.9759 GB, free: 496 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.555e-05/1.079, allocations: 23.92 kB / 0.976 GB, free: 472 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.205e-05/1.079, allocations: 0 / 0.976 GB, free: 472 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001774/1.081, allocations: 0.8487 MB / 0.9768 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008086/1.082, allocations: 107.6 kB / 0.9769 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002285/1.084, allocations: 151.9 kB / 0.977 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006622/1.085, allocations: 362.6 kB / 0.9774 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.012/1.097, allocations: 5 MB / 0.9823 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01313/1.11, allocations: 6.422 MB / 0.9885 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003809/1.114, allocations: 1.812 MB / 0.9903 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002897/1.116, allocations: 1.817 MB / 0.9921 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of Backend: time 5.41e-07/1.116, allocations: 3.938 kB / 0.9921 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01244/1.129, allocations: 5.342 MB / 0.9973 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of SimCode: time 0.0139/1.143, allocations: 8.022 MB / 1.005 GB, free: 2.449 MB / 0.7481 GB Notification: Performance of Templates: time 0.3487/1.492, allocations: 79.13 MB / 1.082 GB, free: 279.1 MB / 0.7637 GB make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.MCV.makefile (rm -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.MCV.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.MCV.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.MCV.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.MCV.sim & ./ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.MCV -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.MCV.pipe 2>&1)