Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.MCV.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.001276/0.001276, allocations: 114.7 kB / 17.6 MB, free: 4.668 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.001295/0.001295, allocations: 189.9 kB / 20.78 MB, free: 1.5 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.508/1.508, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.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.6552/0.6552, allocations: 94.61 MB / 399.1 MB, free: 15.73 MB / 334.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.MCV,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_MCV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.MCV,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_MCV",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002428/0.002428, allocations: 91.84 kB / 0.5444 GB, free: 12.5 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4636/0.466, allocations: 71.84 MB / 0.6145 GB, free: 3.824 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.MCV): time 0.2566/0.7226, allocations: 199.2 MB / 0.8091 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03659/0.7592, allocations: 24.58 MB / 0.8331 GB, free: 4.449 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003592/0.7628, allocations: 107.2 kB / 0.8332 GB, free: 4.344 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00414/0.767, allocations: 1.172 MB / 0.8344 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.009353/0.7763, allocations: 2.653 MB / 0.837 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006661/0.783, allocations: 1.9 MB / 0.8388 GB, free: 14.59 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.007558/0.7905, allocations: 3.813 MB / 0.8425 GB, free: 10.76 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00122/0.7918, allocations: 410.3 kB / 0.8429 GB, free: 10.32 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004385/0.7961, allocations: 1.747 MB / 0.8446 GB, free: 8.562 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003204/0.7993, allocations: 1.665 MB / 0.8463 GB, free: 6.891 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0006776/0.8, allocations: 187.9 kB / 0.8464 GB, free: 6.707 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009712/0.8097, allocations: 3.381 MB / 0.8497 GB, free: 3.316 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001135/0.8109, allocations: 481.6 kB / 0.8502 GB, free: 2.844 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002305/0.8132, allocations: 1.262 MB / 0.8514 GB, free: 1.574 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01038/0.8236, allocations: 3.907 MB / 0.8552 GB, free: 13.65 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 1.007e-05/0.8236, allocations: 4 kB / 0.8552 GB, free: 13.65 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.577e-06/0.8236, allocations: 0 / 0.8552 GB, free: 13.65 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 9.523e-05/0.8237, allocations: 0 / 0.8552 GB, free: 13.65 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 395 * Number of variables: 395 Notification: Performance of Generate backend data structure: time 0.008993/0.8327, allocations: 3.563 MB / 0.8587 GB, free: 9.965 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.8327, allocations: 8.031 kB / 0.8587 GB, free: 9.957 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003101/0.833, allocations: 224 kB / 0.8589 GB, free: 9.727 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007052/0.8337, allocations: 318 kB / 0.8592 GB, free: 9.414 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003948/0.8377, allocations: 1.812 MB / 0.861 GB, free: 7.531 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001225/0.8378, allocations: 123 kB / 0.8611 GB, free: 7.41 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002915/0.8381, allocations: 175.9 kB / 0.8613 GB, free: 7.238 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003979/0.8421, allocations: 1.867 MB / 0.8631 GB, free: 5.277 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.919e-05/0.8421, allocations: 7.938 kB / 0.8631 GB, free: 5.27 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001544/0.8423, allocations: 64 kB / 0.8632 GB, free: 5.207 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.071e-05/0.8423, allocations: 36 kB / 0.8632 GB, free: 5.172 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004201/0.8465, allocations: 1.754 MB / 0.8649 GB, free: 3.422 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3343/1.181, allocations: 7.747 MB / 0.8725 GB, free: 228.2 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005419/1.186, allocations: 1.905 MB / 0.8744 GB, free: 227.5 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001786/1.188, allocations: 0.8327 MB / 0.8752 GB, free: 227.2 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007056/1.195, allocations: 6.799 MB / 0.8818 GB, free: 220.9 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002416/1.197, allocations: 1.079 MB / 0.8829 GB, free: 220.5 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=191): time 5.511e-06/1.197, allocations: 1.859 kB / 0.8829 GB, free: 220.5 MB / 0.6856 GB Notification: Performance of matching and sorting (n=191): time 0.01033/1.208, allocations: 3.38 MB / 0.8862 GB, free: 218.9 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001424/1.208, allocations: 238.7 kB / 0.8864 GB, free: 218.7 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004595/1.213, allocations: 1.825 MB / 0.8882 GB, free: 218 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.000377/1.213, allocations: 66.34 kB / 0.8883 GB, free: 218 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001076/1.214, allocations: 0.9976 MB / 0.8892 GB, free: 217.2 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008156/1.215, allocations: 0.6619 MB / 0.8899 GB, free: 216.8 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008096/1.216, allocations: 326.9 kB / 0.8902 GB, free: 216.6 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001149/1.216, allocations: 301.1 kB / 0.8905 GB, free: 216.3 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002162/1.218, allocations: 0.6507 MB / 0.8911 GB, free: 216.1 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001907/1.22, allocations: 0.8991 MB / 0.892 GB, free: 215.7 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003667/1.223, allocations: 1.754 MB / 0.8937 GB, free: 214.7 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.239e-05/1.223, allocations: 1.25 kB / 0.8937 GB, free: 214.7 MB / 0.6856 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.005943/1.229, allocations: 2.449 MB / 0.8961 GB, free: 213.6 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001257/1.23, allocations: 179.2 kB / 0.8963 GB, free: 213.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.519e-05/1.23, allocations: 5.062 kB / 0.8963 GB, free: 213.4 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008808/1.23, allocations: 262.9 kB / 0.8965 GB, free: 213.3 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001873/1.232, allocations: 417.2 kB / 0.8969 GB, free: 213.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007047/1.239, allocations: 10.58 MB / 0.9072 GB, free: 202.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002414/1.242, allocations: 237.2 kB / 0.9075 GB, free: 202.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002971/1.242, allocations: 80 kB / 0.9075 GB, free: 202.8 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (212): * Single equations (assignments): 199 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(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.001021/1.243, allocations: 379.8 kB / 0.9079 GB, free: 202.6 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006351/1.244, allocations: 276.2 kB / 0.9082 GB, free: 202.4 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006001/1.25, allocations: 2.626 MB / 0.9107 GB, free: 201 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.543e-05/1.25, allocations: 25.98 kB / 0.9108 GB, free: 201 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.57e-05/1.25, allocations: 5.5 kB / 0.9108 GB, free: 201 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.373e-05/1.25, allocations: 10.72 kB / 0.9108 GB, free: 201 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009037/1.259, allocations: 4.829 MB / 0.9155 GB, free: 197.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-05/1.259, allocations: 6.125 kB / 0.9155 GB, free: 197.8 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001712/1.261, allocations: 400 kB / 0.9159 GB, free: 197.7 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007493/1.261, allocations: 267.1 kB / 0.9161 GB, free: 197.6 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001474/1.261, allocations: 64.09 kB / 0.9162 GB, free: 197.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006654/1.268, allocations: 10.57 MB / 0.9265 GB, free: 186.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/1.268, allocations: 8.438 kB / 0.9265 GB, free: 186.9 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007061/1.275, allocations: 3.686 MB / 0.9301 GB, free: 184.6 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001116/1.276, allocations: 0.5153 MB / 0.9306 GB, free: 184.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002792/1.277, allocations: 55.83 kB / 0.9307 GB, free: 184.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001453/1.278, allocations: 107.2 kB / 0.9308 GB, free: 184.1 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005201/1.279, allocations: 218.3 kB / 0.931 GB, free: 184 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001281/1.279, allocations: 75.33 kB / 0.9311 GB, free: 184 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001531/1.28, allocations: 1.24 MB / 0.9323 GB, free: 183.3 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.01e-07/1.28, allocations: 3.938 kB / 0.9323 GB, free: 183.3 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00285/1.283, allocations: 0.8995 MB / 0.9332 GB, free: 183.1 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 14 (mCV1.dp_int,flowResistance1.inlet.m_flow,mCV2.dp_int,flowResistance2.inlet.m_flow,mCV3.dp_int,flowResistance3.inlet.m_flow,mCV4.dp_int,flowResistance4.inlet.m_flow,mCV.dp_int,flowResistance.inlet.m_flow,mCV5.dp_int,flowResistance5.inlet.m_flow,mCV6.inlet.m_flow,mCV6.dp_int) * Number of discrete variables: 18 ($whenCondition1,pulse1.T_start,pulse1.count,$whenCondition2,trapezoid.T_start,trapezoid.count,$whenCondition3,pulse3.T_start,pulse3.count,$whenCondition4,trapezoid1.T_start,trapezoid1.count,$whenCondition5,pulse5.T_start,pulse5.count,$whenCondition6,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 6 (trapezoid2.count,pulse5.count,trapezoid1.count,pulse3.count,trapezoid.count,pulse1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (195): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007633/1.291, allocations: 5.084 MB / 0.9381 GB, free: 180 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.005011/1.296, allocations: 2.831 MB / 0.9409 GB, free: 177.7 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/1.296, allocations: 0 / 0.9409 GB, free: 177.7 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003281/1.299, allocations: 1.914 MB / 0.9428 GB, free: 175.7 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00375/1.303, allocations: 0.7465 MB / 0.9435 GB, free: 175 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0279/1.331, allocations: 18.33 MB / 0.9614 GB, free: 156.2 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001096/1.332, allocations: 1.556 MB / 0.9629 GB, free: 154.6 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001999/1.334, allocations: 414.2 kB / 0.9633 GB, free: 154.2 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001371/1.335, allocations: 1.073 MB / 0.9644 GB, free: 153.1 MB / 0.6856 GB Notification: Performance of SimCode: time 1.452e-06/1.335, allocations: 0 / 0.9644 GB, free: 153.1 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.124/1.459, allocations: 68.74 MB / 1.031 GB, free: 84.71 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.11/17.57, allocations: 6.719 kB / 1.031 GB, free: 84.71 MB / 0.6856 GB " [Timeout remaining time 642] (rm -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.MCV.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.MCV.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.MCV.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.MCV.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.MCV_res.csv --start-time 0 --stop-time 10 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_MCV.fmu > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.MCV.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 21.05658024098375] Failed to read output from testmodel.py, exit status != 0: 17.707878984016133 17.723407208 16.896636453 Calling exit ...