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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002314/0.002314, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002931/0.002931, allocations: 213.3 kB / 22.25 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.744/1.744, allocations: 230.6 MB / 256 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 1.031/1.031, allocations: 100.9 MB / 413.3 MB, free: 2.852 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002699/0.002699, allocations: 84.12 kB / 0.5641 GB, free: 35.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1948, allocations: 74.62 MB / 0.6369 GB, free: 6.453 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.PCV): time 0.8131/1.008, allocations: 165.6 MB / 0.7987 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02528/1.033, allocations: 16.32 MB / 0.8146 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003995/1.037, allocations: 99.69 kB / 0.8147 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003872/1.041, allocations: 0.8871 MB / 0.8156 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009789/1.051, allocations: 2.392 MB / 0.8179 GB, free: 424 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006984/1.058, allocations: 1.866 MB / 0.8198 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.007844/1.066, allocations: 3.669 MB / 0.8233 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009937/1.067, allocations: 266.8 kB / 0.8236 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005497/1.072, allocations: 1.646 MB / 0.8252 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004223/1.076, allocations: 1.496 MB / 0.8267 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0007313/1.077, allocations: 165.9 kB / 0.8268 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008645/1.086, allocations: 2.223 MB / 0.829 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001284/1.087, allocations: 467.1 kB / 0.8294 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00245/1.09, allocations: 0.8944 MB / 0.8303 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01016/1.1, allocations: 3.241 MB / 0.8335 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.025e-05/1.1, allocations: 4 kB / 0.8335 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.945e-06/1.1, allocations: 0 / 0.8335 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.357e-05/1.1, allocations: 1.188 kB / 0.8335 GB, free: 10.3 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.006656/1.106, allocations: 2.619 MB / 0.836 GB, free: 8.453 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/1.107, allocations: 11.09 kB / 0.836 GB, free: 8.453 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002846/1.107, allocations: 212.6 kB / 0.8363 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009282/1.108, allocations: 277.6 kB / 0.8365 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002906/1.111, allocations: 1.22 MB / 0.8377 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001216/1.111, allocations: 110.2 kB / 0.8378 GB, free: 7.23 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002635/1.111, allocations: 161 kB / 0.838 GB, free: 7.172 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00382/1.115, allocations: 2.265 MB / 0.8402 GB, free: 5.414 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.016e-05/1.115, allocations: 6.219 kB / 0.8402 GB, free: 5.414 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000177/1.115, allocations: 61.88 kB / 0.8402 GB, free: 5.367 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.085e-05/1.115, allocations: 37.91 kB / 0.8403 GB, free: 5.367 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002912/1.118, allocations: 1.503 MB / 0.8417 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01003/1.128, allocations: 4.795 MB / 0.8464 GB, free: 1.176 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003019/1.131, allocations: 1.43 MB / 0.8478 GB, free: 380 kB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001236/1.132, allocations: 0.6589 MB / 0.8485 GB, free: 20 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00588/1.138, allocations: 2.699 MB / 0.8511 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.231e-05/1.138, allocations: 60.7 kB / 0.8512 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=166): time 4.007e-06/1.138, allocations: 0 / 0.8512 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of matching and sorting (n=166): time 0.007873/1.146, allocations: 2.478 MB / 0.8536 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000186/1.146, allocations: 177.7 kB / 0.8538 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002298/1.149, allocations: 1.323 MB / 0.855 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001683/1.149, allocations: 57.7 kB / 0.8551 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000794/1.15, allocations: 0.8012 MB / 0.8559 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006119/1.15, allocations: 0.5925 MB / 0.8565 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004703/1.151, allocations: 291.5 kB / 0.8567 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001989/1.151, allocations: 301.1 kB / 0.857 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001177/1.152, allocations: 0.4958 MB / 0.8575 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001555/1.154, allocations: 0.8299 MB / 0.8583 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002608/1.156, allocations: 1.431 MB / 0.8597 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.351e-05/1.156, allocations: 4 kB / 0.8597 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.00454/1.161, allocations: 1.87 MB / 0.8615 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.591e-05/1.161, allocations: 8.188 kB / 0.8616 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.17e-05/1.161, allocations: 12 kB / 0.8616 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009229/1.162, allocations: 226.7 kB / 0.8618 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00142/1.163, allocations: 378.8 kB / 0.8621 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00707/1.17, allocations: 7.142 MB / 0.8691 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001603/1.172, allocations: 166.8 kB / 0.8693 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001968/1.172, allocations: 75.92 kB / 0.8694 GB, free: 10.8 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.001008/1.173, allocations: 332.7 kB / 0.8697 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000825/1.174, allocations: 214.7 kB / 0.8699 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004688/1.179, allocations: 2.062 MB / 0.8719 GB, free: 8.191 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.015e-05/1.179, allocations: 20 kB / 0.8719 GB, free: 8.172 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/1.179, allocations: 8 kB / 0.8719 GB, free: 8.164 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.879e-05/1.179, allocations: 10.59 kB / 0.8719 GB, free: 8.156 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00766/1.186, allocations: 3.659 MB / 0.8755 GB, free: 4.422 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/1.186, allocations: 8.031 kB / 0.8755 GB, free: 4.414 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/1.187, allocations: 256.6 kB / 0.8757 GB, free: 4.176 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001831/1.189, allocations: 472.4 kB / 0.8762 GB, free: 3.691 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001327/1.189, allocations: 55.97 kB / 0.8763 GB, free: 3.637 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009001/1.198, allocations: 9.395 MB / 0.8854 GB, free: 9.605 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.037e-05/1.198, allocations: 11.92 kB / 0.8854 GB, free: 9.594 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005993/1.204, allocations: 2.896 MB / 0.8883 GB, free: 6.648 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006801/1.205, allocations: 214.5 kB / 0.8885 GB, free: 6.438 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002462/1.205, allocations: 39.94 kB / 0.8885 GB, free: 6.398 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/1.206, allocations: 63.95 kB / 0.8886 GB, free: 6.336 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003036/1.207, allocations: 135.2 kB / 0.8887 GB, free: 6.207 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001522/1.207, allocations: 67.95 kB / 0.8888 GB, free: 6.141 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001468/1.208, allocations: 0.9093 MB / 0.8897 GB, free: 5.238 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/1.208, allocations: 0 / 0.8897 GB, free: 5.238 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003224/1.211, allocations: 0.7873 MB / 0.8904 GB, free: 4.449 MB / 0.6387 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.007648/1.219, allocations: 4.093 MB / 0.8944 GB, free: 316 kB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00437/1.223, allocations: 1.914 MB / 0.8963 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-05/1.224, allocations: 4 kB / 0.8963 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002767/1.226, allocations: 1.387 MB / 0.8976 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003898/1.23, allocations: 0.6076 MB / 0.8982 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02914/1.259, allocations: 14.42 MB / 0.9123 GB, free: 13.49 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001082/1.26, allocations: 0.7777 MB / 0.9131 GB, free: 12.67 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001946/1.262, allocations: 346.4 kB / 0.9134 GB, free: 12.33 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001268/1.264, allocations: 0.7765 MB / 0.9142 GB, free: 11.55 MB / 0.67 GB Notification: Performance of SimCode: time 1.242e-06/1.264, allocations: 0 / 0.9142 GB, free: 11.55 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1772/1.441, allocations: 58.1 MB / 0.9709 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.53/18.98, allocations: 4 kB / 0.9709 GB, free: 2.152 MB / 0.7169 GB " [Timeout remaining time 641] (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 & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.PCV_res.csv --start-time 0 --stop-time 1 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 23.60283626941964] Failed to read output from testmodel.py, exit status != 0: 19.135395921766758 19.155733551 18.050047144 Calling exit ...