Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV.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.001719/0.001719, allocations: 106.8 kB / 16.4 MB, free: 6.496 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.0019/0.0019, allocations: 192.6 kB / 19.36 MB, free: 3.75 MB / 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.53/1.53, allocations: 222.9 MB / 245.1 MB, free: 15.03 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.8647/0.8647, allocations: 93.72 MB / 390.9 MB, free: 4.645 MB / 302.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: "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.PCV,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_PCV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.PCV,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_PCV",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002487/0.002487, allocations: 82.05 kB / 0.5285 GB, free: 41.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1643, allocations: 68.27 MB / 0.5951 GB, free: 8.324 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.PCV): time 0.6455/0.8099, allocations: 189.2 MB / 0.78 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01969/0.8296, allocations: 17.84 MB / 0.7974 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002785/0.8325, allocations: 73.06 kB / 0.7974 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003171/0.8357, allocations: 0.9892 MB / 0.7984 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008081/0.8438, allocations: 2.365 MB / 0.8007 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005519/0.8493, allocations: 1.839 MB / 0.8025 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005718/0.855, allocations: 3.616 MB / 0.806 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001181/0.8562, allocations: 456.1 kB / 0.8065 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003767/0.86, allocations: 1.553 MB / 0.808 GB, free: 372 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003018/0.8631, allocations: 1.566 MB / 0.8095 GB, free: 96 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0008424/0.8639, allocations: 171.6 kB / 0.8097 GB, free: 92 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007688/0.8716, allocations: 2.564 MB / 0.8122 GB, free: 40 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001217/0.8729, allocations: 452.9 kB / 0.8126 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002573/0.8755, allocations: 1.085 MB / 0.8137 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.008272/0.8838, allocations: 3.265 MB / 0.8169 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.8838, allocations: 0 / 0.8169 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.523e-06/0.8838, allocations: 0 / 0.8169 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001076/0.884, allocations: 0.9375 kB / 0.8169 GB, free: 15.1 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: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.005921/0.8899, allocations: 2.7 MB / 0.8195 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.8899, allocations: 8.156 kB / 0.8195 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000257/0.8902, allocations: 217.5 kB / 0.8197 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006901/0.8909, allocations: 261.4 kB / 0.82 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002486/0.8934, allocations: 1.336 MB / 0.8213 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/0.8935, allocations: 113.8 kB / 0.8214 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002196/0.8937, allocations: 158.8 kB / 0.8215 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00313/0.8969, allocations: 1.636 MB / 0.8231 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.359e-05/0.8969, allocations: 4.375 kB / 0.8231 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001681/0.8971, allocations: 63.81 kB / 0.8232 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.66e-05/0.8972, allocations: 35.19 kB / 0.8232 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002785/0.8999, allocations: 1.485 MB / 0.8247 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01137/0.9113, allocations: 7.152 MB / 0.8317 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003116/0.9145, allocations: 1.554 MB / 0.8332 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001294/0.9158, allocations: 0.7524 MB / 0.8339 GB, free: 2.543 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007807/0.9236, allocations: 5.96 MB / 0.8397 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.173e-05/0.9237, allocations: 55.81 kB / 0.8398 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=166): time 4.308e-06/0.9237, allocations: 0 / 0.8398 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of matching and sorting (n=166): time 0.007463/0.9312, allocations: 3.163 MB / 0.8429 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/0.9313, allocations: 179.1 kB / 0.8431 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002012/0.9334, allocations: 1.307 MB / 0.8443 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.000165/0.9335, allocations: 60.8 kB / 0.8444 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007521/0.9343, allocations: 0.8 MB / 0.8452 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000605/0.9349, allocations: 0.599 MB / 0.8458 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004819/0.9354, allocations: 295.5 kB / 0.846 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.9356, allocations: 301.1 kB / 0.8463 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001042/0.9366, allocations: 499.8 kB / 0.8468 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001423/0.938, allocations: 0.8243 MB / 0.8476 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002526/0.9406, allocations: 1.438 MB / 0.849 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.033e-05/0.9406, allocations: 7.984 kB / 0.849 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.004112/0.9447, allocations: 1.868 MB / 0.8508 GB, free: 100 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/0.9448, allocations: 12.12 kB / 0.8509 GB, free: 88 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.04e-05/0.9448, allocations: 14.53 kB / 0.8509 GB, free: 76 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008866/0.9457, allocations: 224.1 kB / 0.8511 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/0.9471, allocations: 382.8 kB / 0.8514 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007388/0.9545, allocations: 7.678 MB / 0.8589 GB, free: 7.148 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001516/0.9561, allocations: 158.8 kB / 0.8591 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00018/0.9563, allocations: 80.59 kB / 0.8592 GB, free: 6.914 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (201): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(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.0007754/0.957, allocations: 336.7 kB / 0.8595 GB, free: 6.598 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005191/0.9576, allocations: 198.7 kB / 0.8597 GB, free: 6.402 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00462/0.9622, allocations: 2.081 MB / 0.8617 GB, free: 4.293 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.896e-05/0.9622, allocations: 16 kB / 0.8617 GB, free: 4.277 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.9622, allocations: 8 kB / 0.8617 GB, free: 4.27 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.357e-05/0.9623, allocations: 11.97 kB / 0.8618 GB, free: 4.258 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00736/0.9696, allocations: 3.944 MB / 0.8656 GB, free: 272 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/0.9697, allocations: 4 kB / 0.8656 GB, free: 268 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/0.9707, allocations: 252.6 kB / 0.8658 GB, free: 28 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001882/0.9726, allocations: 472.5 kB / 0.8663 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001264/0.9728, allocations: 47.97 kB / 0.8663 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009078/0.9818, allocations: 9.975 MB / 0.8761 GB, free: 4.762 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.735e-06/0.9819, allocations: 10.47 kB / 0.8761 GB, free: 4.754 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005556/0.9874, allocations: 2.904 MB / 0.8789 GB, free: 1.809 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007918/0.9883, allocations: 287.3 kB / 0.8792 GB, free: 1.508 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002494/0.9885, allocations: 43.94 kB / 0.8792 GB, free: 1.465 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001125/0.9897, allocations: 63.95 kB / 0.8793 GB, free: 1.402 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003003/0.99, allocations: 119.3 kB / 0.8794 GB, free: 1.289 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001606/0.9901, allocations: 72.14 kB / 0.8795 GB, free: 1.219 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001336/0.9915, allocations: 0.9054 MB / 0.8804 GB, free: 328 kB / 0.6387 GB Notification: Performance of sort global known variables: time 2.7e-07/0.9915, allocations: 0 / 0.8804 GB, free: 328 kB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002511/0.994, allocations: 0.7834 MB / 0.8811 GB, free: 15.54 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 13 (volumeFlex2.M,volumeFlex2.U_med,volumeFlex.M,volumeFlex.U_med,flowResistance.inlet.m_flow,volumeFlex1.M,volumeFlex1.U_med,volumeFlex3.M,volumeFlex3.U_med,flowResistance1.inlet.m_flow,pCV2.inlet.m_flow,pCV3.inlet.m_flow,pCV4.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * 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): 5 systems {(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): 4 systems {(2,3), (2,3), (2,3), (2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006827/1.001, allocations: 4.097 MB / 0.8851 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00373/1.005, allocations: 2.002 MB / 0.8871 GB, free: 9.41 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/1.005, allocations: 4 kB / 0.8871 GB, free: 9.406 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002651/1.007, allocations: 1.448 MB / 0.8885 GB, free: 7.93 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003328/1.011, allocations: 0.6073 MB / 0.8891 GB, free: 7.34 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02497/1.036, allocations: 14.45 MB / 0.9032 GB, free: 8.449 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001106/1.037, allocations: 1.34 MB / 0.9045 GB, free: 7.082 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001478/1.038, allocations: 358.3 kB / 0.9049 GB, free: 6.727 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001084/1.039, allocations: 0.7765 MB / 0.9056 GB, free: 5.949 MB / 0.67 GB Notification: Performance of SimCode: time 1.042e-06/1.039, allocations: 0 / 0.9056 GB, free: 5.949 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1535/1.193, allocations: 54.48 MB / 0.9588 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.77/17.97, allocations: 19.84 kB / 0.9588 GB, free: 15.87 MB / 0.7325 GB " [Timeout remaining time 642] (rm -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_PCV_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_PCV.fmu > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 21.927820824086666] Failed to read output from testmodel.py, exit status != 0: 18.097961546853185 18.110645294 17.224174578 Calling exit ...