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.001642/0.001642, allocations: 114 kB / 17.6 MB, free: 4.699 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.001735/0.001735, allocations: 186.7 kB / 20.78 MB, free: 1.539 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.717/1.717, allocations: 225.6 MB / 249.4 MB, free: 3.176 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.6853/0.6853, allocations: 94.61 MB / 399.1 MB, free: 15.75 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.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.003723/0.003723, allocations: 83.86 kB / 0.5444 GB, free: 12.56 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4763/0.48, allocations: 71.85 MB / 0.6145 GB, free: 3.84 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.PCV): time 0.2596/0.7396, allocations: 190.7 MB / 0.8008 GB, free: 5.645 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0257/0.7653, allocations: 17.96 MB / 0.8183 GB, free: 3.637 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002531/0.7679, allocations: 63.56 kB / 0.8184 GB, free: 3.574 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003306/0.7712, allocations: 1.001 MB / 0.8194 GB, free: 2.566 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008687/0.7799, allocations: 2.416 MB / 0.8217 GB, free: 140 kB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006226/0.7861, allocations: 1.844 MB / 0.8235 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.007154/0.7932, allocations: 3.628 MB / 0.8271 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000803/0.794, allocations: 270.5 kB / 0.8273 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003831/0.7979, allocations: 1.607 MB / 0.8289 GB, free: 8.75 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003337/0.8012, allocations: 1.591 MB / 0.8304 GB, free: 7.152 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004692/0.8017, allocations: 168 kB / 0.8306 GB, free: 6.988 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006988/0.8087, allocations: 2.605 MB / 0.8332 GB, free: 4.379 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000851/0.8095, allocations: 469.9 kB / 0.8336 GB, free: 3.918 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002233/0.8117, allocations: 1.08 MB / 0.8347 GB, free: 2.832 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.008362/0.8201, allocations: 3.265 MB / 0.8378 GB, free: 15.55 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.8201, allocations: 4 kB / 0.8378 GB, free: 15.55 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.434e-06/0.8201, allocations: 4 kB / 0.8379 GB, free: 15.55 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.231e-05/0.8202, allocations: 0 / 0.8379 GB, free: 15.55 MB / 0.67 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.005678/0.8258, allocations: 2.691 MB / 0.8405 GB, free: 12.79 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.8259, allocations: 12.03 kB / 0.8405 GB, free: 12.78 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003354/0.8262, allocations: 215.1 kB / 0.8407 GB, free: 12.56 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007525/0.827, allocations: 266.4 kB / 0.841 GB, free: 12.3 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00263/0.8296, allocations: 1.347 MB / 0.8423 GB, free: 10.9 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001163/0.8297, allocations: 110.9 kB / 0.8424 GB, free: 10.79 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002421/0.83, allocations: 159.9 kB / 0.8425 GB, free: 10.64 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003184/0.8331, allocations: 1.631 MB / 0.8441 GB, free: 8.945 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.224e-05/0.8332, allocations: 4 kB / 0.8441 GB, free: 8.941 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001514/0.8333, allocations: 64 kB / 0.8442 GB, free: 8.879 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.614e-05/0.8334, allocations: 32 kB / 0.8442 GB, free: 8.848 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003031/0.8364, allocations: 1.485 MB / 0.8457 GB, free: 7.363 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01159/0.848, allocations: 7.155 MB / 0.8527 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003369/0.8513, allocations: 1.432 MB / 0.854 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001292/0.8526, allocations: 0.663 MB / 0.8547 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009304/0.8619, allocations: 5.951 MB / 0.8605 GB, free: 6.742 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.474e-05/0.862, allocations: 67.67 kB / 0.8606 GB, free: 6.668 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=166): time 4.218e-06/0.862, allocations: 0 / 0.8606 GB, free: 6.668 MB / 0.6856 GB Notification: Performance of matching and sorting (n=166): time 0.008365/0.8704, allocations: 3.144 MB / 0.8636 GB, free: 3.332 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001418/0.8705, allocations: 183 kB / 0.8638 GB, free: 3.117 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002314/0.8728, allocations: 1.303 MB / 0.8651 GB, free: 1.809 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001918/0.873, allocations: 57.7 kB / 0.8651 GB, free: 1.746 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007245/0.8737, allocations: 0.8012 MB / 0.8659 GB, free: 0.9336 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005918/0.8743, allocations: 0.5964 MB / 0.8665 GB, free: 340 kB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004727/0.8748, allocations: 295.5 kB / 0.8668 GB, free: 40 kB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.3693/1.244, allocations: 301.1 kB / 0.8671 GB, free: 231.6 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001521/1.246, allocations: 494.1 kB / 0.8675 GB, free: 231.6 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001263/1.247, allocations: 0.828 MB / 0.8684 GB, free: 231.3 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002122/1.249, allocations: 1.435 MB / 0.8698 GB, free: 230.6 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.285e-06/1.249, allocations: 2.594 kB / 0.8698 GB, free: 230.6 MB / 0.6856 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.003686/1.253, allocations: 1.868 MB / 0.8716 GB, free: 229.9 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/1.253, allocations: 10.5 kB / 0.8716 GB, free: 229.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.756e-05/1.253, allocations: 8.578 kB / 0.8716 GB, free: 229.9 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008449/1.254, allocations: 228.5 kB / 0.8718 GB, free: 229.9 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001448/1.255, allocations: 381 kB / 0.8722 GB, free: 229.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005017/1.26, allocations: 7.68 MB / 0.8797 GB, free: 222.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001686/1.262, allocations: 160.3 kB / 0.8798 GB, free: 222.4 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002205/1.262, allocations: 80.55 kB / 0.8799 GB, free: 222.4 MB / 0.6856 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.0008021/1.263, allocations: 339.3 kB / 0.8802 GB, free: 222.2 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006146/1.263, allocations: 206.4 kB / 0.8804 GB, free: 222.1 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004354/1.268, allocations: 2.056 MB / 0.8824 GB, free: 221.2 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.672e-05/1.268, allocations: 19.92 kB / 0.8825 GB, free: 221.2 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.335e-05/1.268, allocations: 4.812 kB / 0.8825 GB, free: 221.2 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.657e-05/1.268, allocations: 11.7 kB / 0.8825 GB, free: 221.2 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007376/1.275, allocations: 3.934 MB / 0.8863 GB, free: 219.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.179e-05/1.275, allocations: 3.156 kB / 0.8863 GB, free: 219.2 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00117/1.276, allocations: 255.9 kB / 0.8866 GB, free: 219.2 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001867/1.278, allocations: 476.4 kB / 0.887 GB, free: 219 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001504/1.278, allocations: 52.02 kB / 0.8871 GB, free: 219 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005467/1.284, allocations: 9.972 MB / 0.8968 GB, free: 209.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/1.284, allocations: 7.375 kB / 0.8968 GB, free: 209.4 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004851/1.289, allocations: 2.871 MB / 0.8996 GB, free: 207.8 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006589/1.289, allocations: 288.9 kB / 0.8999 GB, free: 207.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002322/1.29, allocations: 42.36 kB / 0.8999 GB, free: 207.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/1.291, allocations: 62.12 kB / 0.9 GB, free: 207.6 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003492/1.291, allocations: 130.6 kB / 0.9001 GB, free: 207.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00015/1.291, allocations: 77.2 kB / 0.9002 GB, free: 207.5 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001439/1.293, allocations: 0.9046 MB / 0.9011 GB, free: 207.2 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/1.293, allocations: 0 / 0.9011 GB, free: 207.2 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0031/1.296, allocations: 0.788 MB / 0.9018 GB, free: 207 MB / 0.6856 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.006108/1.302, allocations: 4.085 MB / 0.9058 GB, free: 204.9 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00394/1.306, allocations: 1.916 MB / 0.9077 GB, free: 203.8 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/1.306, allocations: 1.375 kB / 0.9077 GB, free: 203.8 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002372/1.308, allocations: 1.378 MB / 0.9091 GB, free: 203 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003249/1.311, allocations: 0.6255 MB / 0.9097 GB, free: 202.8 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02086/1.332, allocations: 14.43 MB / 0.9238 GB, free: 194.6 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000704/1.333, allocations: 1.34 MB / 0.9251 GB, free: 193.6 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001253/1.334, allocations: 361.1 kB / 0.9254 GB, free: 193.4 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007684/1.335, allocations: 0.7769 MB / 0.9262 GB, free: 192.8 MB / 0.6856 GB Notification: Performance of SimCode: time 1.142e-06/1.335, allocations: 0 / 0.9262 GB, free: 192.8 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.133/1.468, allocations: 55 MB / 0.9799 GB, free: 138.7 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.43/17.9, allocations: 5.406 kB / 0.9799 GB, free: 138.7 MB / 0.6856 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 & 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: 21.666488994000247] Failed to read output from testmodel.py, exit status != 0: 18.0392829659977 18.057911897 17.233410295 Calling exit ...