Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Examples.SimpleCoolingCycle.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.Examples.SimpleCoolingCycle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="PI.x|PID.I.y|Time|combiTimeTable.nextTimeEvent|combiTimeTable.nextTimeEventScaled|fan.m_flow|flexVolume.M|flexVolume.U_med|heatCapacitor.T|heatExchange_CounterFlowNTU.h_out_A|heatExchange_CounterFlowNTU.h_out_B|pump.m_flow|pump.omega|speed.phi|speed1.phi|speed1.w",fileNamePrefix="ThermofluidStream_ThermofluidStream.Examples.SimpleCoolingCycle") translateModel(ThermofluidStream.Examples.SimpleCoolingCycle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="PI.x|PID.I.y|Time|combiTimeTable.nextTimeEvent|combiTimeTable.nextTimeEventScaled|fan.m_flow|flexVolume.M|flexVolume.U_med|heatCapacitor.T|heatExchange_CounterFlowNTU.h_out_A|heatExchange_CounterFlowNTU.h_out_B|pump.m_flow|pump.omega|speed.phi|speed1.phi|speed1.w",fileNamePrefix="ThermofluidStream_ThermofluidStream.Examples.SimpleCoolingCycle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001561/0.001562, allocations: 115.8 kB / 16.42 MB, free: 6.5 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.001832/0.001832, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.311/1.311, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6503/0.6503, allocations: 91.19 MB / 382.4 MB, free: 7.562 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 84.2 kB / 0.5175 GB, free: 4.121 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2677/0.2692, allocations: 67.67 MB / 0.5836 GB, free: 13.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleCoolingCycle): time 0.4524/0.7216, allocations: 207.4 MB / 0.7862 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02358/0.7452, allocations: 29.91 MB / 0.8154 GB, free: 436 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001921/0.7472, allocations: 72.53 kB / 0.8154 GB, free: 436 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002037/0.7492, allocations: 1.027 MB / 0.8164 GB, free: 400 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003555/0.7528, allocations: 1.655 MB / 0.8181 GB, free: 332 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004825/0.7577, allocations: 2.213 MB / 0.8202 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00287/0.7605, allocations: 2.897 MB / 0.823 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000749/0.7613, allocations: 0.5769 MB / 0.8236 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001838/0.7632, allocations: 1.262 MB / 0.8248 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001033/0.7642, allocations: 1.098 MB / 0.8259 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000228/0.7644, allocations: 173.7 kB / 0.8261 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004303/0.7687, allocations: 1.887 MB / 0.8279 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003965/0.7692, allocations: 453.7 kB / 0.8284 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0009469/0.7701, allocations: 1.062 MB / 0.8294 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004695/0.7748, allocations: 3.514 MB / 0.8328 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.7748, allocations: 0 / 0.8328 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.132e-06/0.7748, allocations: 0 / 0.8328 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.242e-05/0.7749, allocations: 0 / 0.8328 GB, free: 9.949 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 407 * Number of variables: 407 Notification: Performance of Generate backend data structure: time 0.004837/0.7797, allocations: 2.785 MB / 0.8355 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.7798, allocations: 12.03 kB / 0.8356 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001792/0.7816, allocations: 360.8 kB / 0.8359 GB, free: 7.074 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002296/0.7839, allocations: 1.332 MB / 0.8372 GB, free: 5.77 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002904/0.7842, allocations: 309.3 kB / 0.8375 GB, free: 5.43 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002306/0.7844, allocations: 171.9 kB / 0.8377 GB, free: 5.262 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003234/0.7876, allocations: 1.811 MB / 0.8394 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.504e-05/0.7877, allocations: 10.53 kB / 0.8394 GB, free: 3.387 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001486/0.7878, allocations: 60 kB / 0.8395 GB, free: 3.328 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.943e-05/0.7879, allocations: 40 kB / 0.8395 GB, free: 3.289 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003225/0.7911, allocations: 1.599 MB / 0.8411 GB, free: 1.695 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009784/0.8009, allocations: 7.304 MB / 0.8482 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003104/0.804, allocations: 1.604 MB / 0.8498 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001398/0.8054, allocations: 0.7257 MB / 0.8505 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006751/0.8122, allocations: 5.299 MB / 0.8557 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001719/0.8139, allocations: 0.849 MB / 0.8565 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=151): time 3.186e-06/0.8139, allocations: 0 / 0.8565 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of matching and sorting (n=151): time 0.01139/0.8254, allocations: 3.572 MB / 0.86 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.557e-05/0.8254, allocations: 141.8 kB / 0.8601 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001499/0.827, allocations: 1.332 MB / 0.8614 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.000106/0.8271, allocations: 49.7 kB / 0.8615 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006267/0.8277, allocations: 0.8605 MB / 0.8623 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003811/0.8281, allocations: 0.511 MB / 0.8628 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004415/0.8285, allocations: 279.5 kB / 0.8631 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 8.929e-05/0.8286, allocations: 309.1 kB / 0.8634 GB, free: 9.754 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001312/0.83, allocations: 0.5708 MB / 0.8639 GB, free: 9.18 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001524/0.8315, allocations: 0.8434 MB / 0.8648 GB, free: 8.242 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002842/0.8343, allocations: 1.414 MB / 0.8661 GB, free: 6.766 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-06/0.8344, allocations: 7.938 kB / 0.8661 GB, free: 6.758 MB / 0.6231 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00676/0.8411, allocations: 2.383 MB / 0.8685 GB, free: 4.402 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.8412, allocations: 9.25 kB / 0.8685 GB, free: 4.395 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.581e-05/0.8412, allocations: 12 kB / 0.8685 GB, free: 4.383 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003236/0.8444, allocations: 0.693 MB / 0.8692 GB, free: 3.68 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001546/0.846, allocations: 352.9 kB / 0.8695 GB, free: 3.355 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006751/0.8528, allocations: 5.871 MB / 0.8752 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001131/0.8539, allocations: 166.5 kB / 0.8754 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001528/0.8541, allocations: 79.97 kB / 0.8755 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001665/0.8557, allocations: 0.8045 MB / 0.8763 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001496/0.8573, allocations: 0.8374 MB / 0.8771 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002698/0.86, allocations: 1.389 MB / 0.8784 GB, free: 9.629 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.831e-06/0.86, allocations: 7.938 kB / 0.8784 GB, free: 9.621 MB / 0.6387 GB Notification: Performance of matching and sorting (n=195) (initialization_lambda0): time 0.006833/0.8668, allocations: 2.356 MB / 0.8807 GB, free: 7.293 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.8668, allocations: 11.98 kB / 0.8808 GB, free: 7.281 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.996e-05/0.8669, allocations: 12 kB / 0.8808 GB, free: 7.27 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003156/0.87, allocations: 0.6895 MB / 0.8814 GB, free: 6.57 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001493/0.8715, allocations: 353.6 kB / 0.8818 GB, free: 6.242 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006369/0.8779, allocations: 5.874 MB / 0.8875 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/0.8791, allocations: 146.8 kB / 0.8877 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000141/0.8792, allocations: 88.03 kB / 0.8877 GB, free: 15.72 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent,PID.I.local_reset,thermalConvectionPipe.turb_flag) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (171): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (3,1,88.9%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003337/0.8795, allocations: 280.7 kB / 0.888 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002849/0.8798, allocations: 181.8 kB / 0.8882 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007317/0.8872, allocations: 2.717 MB / 0.8908 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.888e-05/0.8872, allocations: 11.91 kB / 0.8908 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.5e-05/0.8872, allocations: 4 kB / 0.8908 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005862/0.8878, allocations: 394.2 kB / 0.8912 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002264/0.888, allocations: 28 kB / 0.8913 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009213/0.889, allocations: 79.92 kB / 0.8913 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002247/0.8892, allocations: 121.1 kB / 0.8914 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005074/0.8943, allocations: 1.91 MB / 0.8933 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004626/0.8989, allocations: 2.465 MB / 0.8957 GB, free: 7.535 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001288/0.9002, allocations: 0.6608 MB / 0.8964 GB, free: 6.875 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00111/0.9014, allocations: 0.8852 MB / 0.8972 GB, free: 5.996 MB / 0.6544 GB Notification: Performance of Backend: time 5.51e-07/0.9014, allocations: 0 / 0.8972 GB, free: 5.996 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.009719/0.9111, allocations: 4.207 MB / 0.9013 GB, free: 2.016 MB / 0.6544 GB Notification: Performance of SimCode: time 0.006334/0.9174, allocations: 4.541 MB / 0.9058 GB, free: 13.45 MB / 0.67 GB Notification: Performance of Templates: time 0.06639/0.9838, allocations: 45.5 MB / 0.9502 GB, free: 252 kB / 0.7012 GB make -j1 -f ThermofluidStream_ThermofluidStream.Examples.SimpleCoolingCycle.makefile (rm -f ThermofluidStream_ThermofluidStream.Examples.SimpleCoolingCycle.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Examples.SimpleCoolingCycle.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Examples.SimpleCoolingCycle.pipe >> ../files/ThermofluidStream_ThermofluidStream.Examples.SimpleCoolingCycle.sim & ./ThermofluidStream_ThermofluidStream.Examples.SimpleCoolingCycle -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Examples.SimpleCoolingCycle.pipe 2>&1)