Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Examples.SimpleCoolingCycle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 113.2 kB / 18.68 MB, free: 3.316 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 200.4 kB / 21.94 MB, free: 76 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 225.6 MB / 250.6 MB, free: 13.42 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.8509/0.8509, allocations: 94.6 MB / 400.4 MB, free: 15.8 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.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=1000,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_dev_ThermofluidStream.Examples.SimpleCoolingCycle") translateModel(ThermofluidStream.Examples.SimpleCoolingCycle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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_dev_ThermofluidStream.Examples.SimpleCoolingCycle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003691/0.003691, allocations: 84.02 kB / 0.5464 GB, free: 42.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1419, allocations: 71.85 MB / 0.6166 GB, free: 8.59 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleCoolingCycle): time 0.6047/0.7466, allocations: 208.8 MB / 0.8205 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03161/0.7782, allocations: 30.26 MB / 0.85 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002546/0.7808, allocations: 78.34 kB / 0.8501 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003694/0.7845, allocations: 1.025 MB / 0.8511 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.009325/0.7938, allocations: 1.67 MB / 0.8527 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.008311/0.8021, allocations: 2.221 MB / 0.8549 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00552/0.8076, allocations: 2.914 MB / 0.8578 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001115/0.8087, allocations: 379.4 kB / 0.8581 GB, free: 4.371 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003011/0.8118, allocations: 1.271 MB / 0.8594 GB, free: 3.617 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002394/0.8141, allocations: 1.126 MB / 0.8605 GB, free: 2.859 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005263/0.8147, allocations: 168.9 kB / 0.8606 GB, free: 2.859 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006745/0.8214, allocations: 1.908 MB / 0.8625 GB, free: 1.078 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0008908/0.8223, allocations: 462 kB / 0.8629 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002005/0.8243, allocations: 1.061 MB / 0.864 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.009624/0.8339, allocations: 3.541 MB / 0.8674 GB, free: 12 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.8339, allocations: 0 / 0.8674 GB, free: 12 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.375e-06/0.8339, allocations: 4 kB / 0.8674 GB, free: 12 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.002e-05/0.834, allocations: 0 / 0.8674 GB, free: 12 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: 407 * Number of variables: 407 Notification: Performance of Generate backend data structure: time 0.006424/0.8404, allocations: 2.876 MB / 0.8702 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.8405, allocations: 8.031 kB / 0.8702 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001987/0.8425, allocations: 382.2 kB / 0.8706 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002871/0.8453, allocations: 1.359 MB / 0.8719 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003973/0.8457, allocations: 309.4 kB / 0.8722 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003118/0.8461, allocations: 171.9 kB / 0.8724 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003628/0.8497, allocations: 1.806 MB / 0.8742 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.258e-05/0.8497, allocations: 0 / 0.8742 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001693/0.8499, allocations: 71.98 kB / 0.8742 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.873e-05/0.8499, allocations: 44 kB / 0.8743 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003509/0.8534, allocations: 1.593 MB / 0.8758 GB, free: 3.18 MB / 0.6075 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.01259/0.866, allocations: 7.324 MB / 0.883 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003375/0.8694, allocations: 1.508 MB / 0.8844 GB, free: 9.828 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001489/0.8709, allocations: 0.6685 MB / 0.8851 GB, free: 9.16 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008932/0.8798, allocations: 5.288 MB / 0.8903 GB, free: 3.219 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001962/0.8818, allocations: 0.8577 MB / 0.8911 GB, free: 2.34 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=151): time 4.919e-06/0.8818, allocations: 7.938 kB / 0.8911 GB, free: 2.332 MB / 0.6231 GB Notification: Performance of matching and sorting (n=151): time 0.01262/0.8944, allocations: 3.573 MB / 0.8946 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001275/0.8945, allocations: 141.8 kB / 0.8947 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002471/0.897, allocations: 1.341 MB / 0.896 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0003879/0.8974, allocations: 49.7 kB / 0.8961 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009749/0.8984, allocations: 0.8755 MB / 0.8969 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000777/0.8991, allocations: 0.5383 MB / 0.8975 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00053/0.8997, allocations: 287.5 kB / 0.8977 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.8998, allocations: 309.1 kB / 0.898 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001516/0.9013, allocations: 0.5767 MB / 0.8986 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001919/0.9033, allocations: 0.848 MB / 0.8994 GB, free: 9.551 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003201/0.9065, allocations: 1.412 MB / 0.9008 GB, free: 8.047 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/0.9065, allocations: 0 / 0.9008 GB, free: 8.047 MB / 0.6387 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.007787/0.9143, allocations: 2.388 MB / 0.9031 GB, free: 5.637 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.625e-05/0.9143, allocations: 8 kB / 0.9031 GB, free: 5.629 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-05/0.9143, allocations: 12 kB / 0.9032 GB, free: 5.617 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003579/0.9179, allocations: 0.6808 MB / 0.9038 GB, free: 4.926 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001862/0.9198, allocations: 357.6 kB / 0.9042 GB, free: 4.578 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007901/0.9277, allocations: 5.88 MB / 0.9099 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001799/0.9295, allocations: 178.8 kB / 0.9101 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002112/0.9297, allocations: 83.97 kB / 0.9102 GB, free: 14 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002073/0.9318, allocations: 0.8006 MB / 0.9109 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001649/0.9334, allocations: 0.8246 MB / 0.9117 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003007/0.9364, allocations: 1.393 MB / 0.9131 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.869e-06/0.9364, allocations: 0 / 0.9131 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of matching and sorting (n=195) (initialization_lambda0): time 0.007209/0.9436, allocations: 2.373 MB / 0.9154 GB, free: 8.402 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.9436, allocations: 9.094 kB / 0.9154 GB, free: 8.395 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3e-05/0.9437, allocations: 12 kB / 0.9154 GB, free: 8.383 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003386/0.9471, allocations: 0.6834 MB / 0.9161 GB, free: 7.688 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001615/0.9487, allocations: 351.5 kB / 0.9164 GB, free: 7.344 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007373/0.956, allocations: 5.881 MB / 0.9222 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0017/0.9577, allocations: 147.1 kB / 0.9223 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003326/0.9581, allocations: 79.98 kB / 0.9224 GB, free: 0.793 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.0006992/0.9588, allocations: 275.9 kB / 0.9227 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004465/0.9592, allocations: 198.7 kB / 0.9229 GB, free: 324 kB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008261/0.9675, allocations: 2.709 MB / 0.9255 GB, free: 13.58 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.962e-05/0.9675, allocations: 7.969 kB / 0.9255 GB, free: 13.57 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-05/0.9675, allocations: 8 kB / 0.9255 GB, free: 13.57 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001014/0.9685, allocations: 407.2 kB / 0.9259 GB, free: 13.15 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002123/0.9688, allocations: 39.92 kB / 0.9259 GB, free: 13.11 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008754/0.9696, allocations: 75.94 kB / 0.926 GB, free: 13.04 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002636/0.9699, allocations: 121.1 kB / 0.9261 GB, free: 12.92 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005387/0.9753, allocations: 1.91 MB / 0.928 GB, free: 10.99 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005397/0.9807, allocations: 2.474 MB / 0.9304 GB, free: 8.496 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001363/0.982, allocations: 0.6114 MB / 0.931 GB, free: 7.887 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001423/0.9835, allocations: 0.8855 MB / 0.9319 GB, free: 7.008 MB / 0.67 GB Notification: Performance of Backend: time 5.21e-07/0.9835, allocations: 0 / 0.9319 GB, free: 7.008 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01167/0.9951, allocations: 4.057 MB / 0.9358 GB, free: 3.055 MB / 0.67 GB Notification: Performance of SimCode: time 0.008776/1.004, allocations: 4.612 MB / 0.9403 GB, free: 14.38 MB / 0.6856 GB Notification: Performance of Templates: time 0.09038/1.094, allocations: 46.79 MB / 0.986 GB, free: 15.73 MB / 0.7325 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Examples.SimpleCoolingCycle.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Examples.SimpleCoolingCycle.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Examples.SimpleCoolingCycle.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Examples.SimpleCoolingCycle.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Examples.SimpleCoolingCycle.sim & ./ThermofluidStream_dev_ThermofluidStream.Examples.SimpleCoolingCycle -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Examples.SimpleCoolingCycle.pipe 2>&1) [Timeout 1200] Could not SIGINT process: 2222662. Could not SIGINT process: 2222663. Could not SIGINT process: 2222666. Could not SIGINT process: 2221930. [Calling os._exit(0), Time elapsed: 1208.451041947992] Failed to read output from testmodel.py, exit status != 0: 1.105242190998979 1.119309177 0.28186576900000004 Calling exit ...