Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001841/0.001841, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002196/0.002196, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.799/1.799, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 1.247/1.247, allocations: 94.63 MB / 407.1 MB, free: 8.926 MB / 318.1 MB " [Timeout remaining time 178] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/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_ThermofluidStream_FlowControl_Tests_PCV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.PCV,fileNamePrefix="ThermofluidStream_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.002845/0.002845, allocations: 82.97 kB / 0.5549 GB, free: 38.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2572, allocations: 73.06 MB / 0.6263 GB, free: 216 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.PCV): time 1.057/1.315, allocations: 165.6 MB / 0.7881 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02987/1.344, allocations: 16.32 MB / 0.804 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004845/1.349, allocations: 95.59 kB / 0.8041 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.005056/1.354, allocations: 0.8988 MB / 0.805 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01331/1.368, allocations: 2.392 MB / 0.8073 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.009178/1.377, allocations: 1.857 MB / 0.8091 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01007/1.387, allocations: 3.655 MB / 0.8127 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001057/1.388, allocations: 268.2 kB / 0.8129 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005817/1.394, allocations: 1.648 MB / 0.8145 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004757/1.398, allocations: 1.491 MB / 0.816 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005918/1.399, allocations: 168.9 kB / 0.8162 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009055/1.408, allocations: 2.231 MB / 0.8183 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009372/1.409, allocations: 462.5 kB / 0.8188 GB, free: 352 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003587/1.413, allocations: 0.9123 MB / 0.8197 GB, free: 0 / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01237/1.425, allocations: 3.249 MB / 0.8228 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.841e-05/1.425, allocations: 4 kB / 0.8228 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of FrontEnd: time 5.661e-06/1.425, allocations: 3.938 kB / 0.8229 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001344/1.425, allocations: 0.8125 kB / 0.8229 GB, free: 14.92 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.007725/1.433, allocations: 2.614 MB / 0.8254 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 7.056e-05/1.433, allocations: 9.906 kB / 0.8254 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003691/1.433, allocations: 213.3 kB / 0.8256 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/1.434, allocations: 274.3 kB / 0.8259 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003878/1.438, allocations: 1.228 MB / 0.8271 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001402/1.438, allocations: 111 kB / 0.8272 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002807/1.439, allocations: 156.5 kB / 0.8273 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004094/1.443, allocations: 2.257 MB / 0.8295 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.626e-05/1.443, allocations: 0 / 0.8295 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001629/1.443, allocations: 68.69 kB / 0.8296 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-05/1.443, allocations: 37.22 kB / 0.8296 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003096/1.446, allocations: 1.502 MB / 0.8311 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01136/1.458, allocations: 4.802 MB / 0.8358 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003405/1.461, allocations: 1.427 MB / 0.8372 GB, free: 5.707 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00131/1.462, allocations: 0.6727 MB / 0.8378 GB, free: 5.355 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007396/1.47, allocations: 2.695 MB / 0.8405 GB, free: 3.355 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.34e-05/1.47, allocations: 57.28 kB / 0.8405 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=166): time 4.358e-06/1.47, allocations: 0 / 0.8405 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of matching and sorting (n=166): time 0.007737/1.477, allocations: 2.475 MB / 0.8429 GB, free: 2.098 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001856/1.478, allocations: 182.2 kB / 0.8431 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002682/1.48, allocations: 1.315 MB / 0.8444 GB, free: 1.191 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001903/1.481, allocations: 58.36 kB / 0.8445 GB, free: 1.137 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001049/1.482, allocations: 0.8005 MB / 0.8452 GB, free: 432 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008125/1.482, allocations: 0.5943 MB / 0.8458 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005396/1.483, allocations: 292.6 kB / 0.8461 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000236/1.483, allocations: 305.1 kB / 0.8464 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001301/1.484, allocations: 496.2 kB / 0.8469 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001616/1.486, allocations: 0.837 MB / 0.8477 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002794/1.489, allocations: 1.434 MB / 0.8491 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.268e-05/1.489, allocations: 4 kB / 0.8491 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.004533/1.493, allocations: 1.87 MB / 0.8509 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.911e-05/1.493, allocations: 8 kB / 0.8509 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.439e-05/1.493, allocations: 8 kB / 0.8509 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001005/1.494, allocations: 226.7 kB / 0.8511 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001506/1.496, allocations: 382.8 kB / 0.8515 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008618/1.505, allocations: 7.138 MB / 0.8585 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001875/1.506, allocations: 162.8 kB / 0.8586 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002308/1.507, allocations: 75.98 kB / 0.8587 GB, free: 2.359 MB / 0.6075 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.001076/1.508, allocations: 340.5 kB / 0.859 GB, free: 2.039 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007938/1.509, allocations: 206.7 kB / 0.8592 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004878/1.513, allocations: 2.061 MB / 0.8612 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.528e-05/1.514, allocations: 24 kB / 0.8613 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/1.514, allocations: 7.938 kB / 0.8613 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.091e-05/1.514, allocations: 7.969 kB / 0.8613 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008091/1.522, allocations: 3.672 MB / 0.8649 GB, free: 12 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/1.522, allocations: 0 / 0.8649 GB, free: 12 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00109/1.523, allocations: 259.1 kB / 0.8651 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002011/1.525, allocations: 465.9 kB / 0.8656 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001474/1.525, allocations: 55.97 kB / 0.8656 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01088/1.536, allocations: 9.415 MB / 0.8748 GB, free: 1.176 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.465e-05/1.536, allocations: 10.47 kB / 0.8748 GB, free: 1.168 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007303/1.543, allocations: 2.884 MB / 0.8776 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001162/1.544, allocations: 210.3 kB / 0.8778 GB, free: 14.03 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002772/1.545, allocations: 43.92 kB / 0.8779 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001237/1.546, allocations: 55.97 kB / 0.8779 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004264/1.546, allocations: 131.2 kB / 0.8781 GB, free: 13.81 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001792/1.546, allocations: 78.48 kB / 0.8781 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001742/1.548, allocations: 0.9054 MB / 0.879 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9e-08/1.548, allocations: 0 / 0.879 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003769/1.552, allocations: 0.7834 MB / 0.8798 GB, free: 12.05 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.008589/1.56, allocations: 4.084 MB / 0.8838 GB, free: 7.961 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00492/1.565, allocations: 1.921 MB / 0.8856 GB, free: 6.027 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.877e-05/1.565, allocations: 0 / 0.8856 GB, free: 6.027 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003141/1.569, allocations: 1.379 MB / 0.887 GB, free: 4.613 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004394/1.573, allocations: 0.6122 MB / 0.8876 GB, free: 4.02 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03127/1.604, allocations: 14.43 MB / 0.9017 GB, free: 5.141 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001261/1.605, allocations: 0.7649 MB / 0.9024 GB, free: 4.344 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001865/1.607, allocations: 350.3 kB / 0.9028 GB, free: 3.996 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001298/1.609, allocations: 0.7843 MB / 0.9035 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of SimCode: time 1.453e-06/1.609, allocations: 4 kB / 0.9035 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1752/1.784, allocations: 58.1 MB / 0.9603 GB, free: 9.793 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.07/20.85, allocations: 0 / 0.9603 GB, free: 9.793 MB / 0.7169 GB " [Timeout remaining time 639] (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.sim & python3 -m fmpy simulate --output-file ThermofluidStream_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_ThermofluidStream_FlowControl_Tests_PCV.fmu > ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 26.16128818783909] Failed to read output from testmodel.py, exit status != 0: 21.01266945991665 21.031944345 19.602551512 Calling exit ...