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.0008424/0.0008424, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.001363/0.001363, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.886/0.886, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6393/0.6393, allocations: 116 MB / 375.2 MB, free: 4.191 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.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: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 0.5532 GB, free: 13.35 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.378e-05/2.596e-05, allocations: 8.891 kB / 0.5533 GB, free: 13.34 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.PCV): time 0.4211/0.4211, allocations: 169.1 MB / 0.7183 GB, free: 8.781 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.01543/0.4365, allocations: 14.15 MB / 0.7322 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003072/0.4396, allocations: 115.7 kB / 0.7323 GB, free: 13.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.002956/0.4426, allocations: 0.9292 MB / 0.7332 GB, free: 12.73 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.006895/0.4494, allocations: 2.628 MB / 0.7357 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.004806/0.4543, allocations: 1.962 MB / 0.7377 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.005519/0.4598, allocations: 4.078 MB / 0.7416 GB, free: 6.641 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008395/0.4606, allocations: 271.5 kB / 0.7419 GB, free: 6.469 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005386/0.466, allocations: 2.27 MB / 0.7441 GB, free: 5.105 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002696/0.4687, allocations: 1.458 MB / 0.7455 GB, free: 4.367 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0005524/0.4692, allocations: 167.8 kB / 0.7457 GB, free: 4.367 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004193/0.4734, allocations: 2.255 MB / 0.7479 GB, free: 3.383 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0008679/0.4743, allocations: 481.4 kB / 0.7484 GB, free: 2.98 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.001663/0.476, allocations: 0.8062 MB / 0.7492 GB, free: 2.594 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.006543/0.4825, allocations: 3.482 MB / 0.7526 GB, free: 452 kB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.4825, allocations: 2.938 kB / 0.7526 GB, free: 452 kB / 0.5886 GB Notification: Performance of FrontEnd: time 1.883e-06/0.4825, allocations: 0 / 0.7526 GB, free: 452 kB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.398e-05/0.4826, allocations: 0 / 0.7526 GB, free: 452 kB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.004623/0.4872, allocations: 2.738 MB / 0.7552 GB, free: 14.47 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.4873, allocations: 10.78 kB / 0.7552 GB, free: 14.47 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002103/0.4875, allocations: 210.6 kB / 0.7554 GB, free: 14.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006915/0.4882, allocations: 288.9 kB / 0.7557 GB, free: 14.16 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002225/0.4904, allocations: 1.347 MB / 0.757 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.734e-05/0.4905, allocations: 114.9 kB / 0.7571 GB, free: 12.81 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001772/0.4907, allocations: 156 kB / 0.7573 GB, free: 12.66 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002289/0.493, allocations: 2.298 MB / 0.7595 GB, free: 10.14 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/0.493, allocations: 0 / 0.7595 GB, free: 10.14 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/0.4931, allocations: 67.94 kB / 0.7596 GB, free: 10.08 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.791e-05/0.4931, allocations: 36 kB / 0.7596 GB, free: 10.04 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001905/0.495, allocations: 1.52 MB / 0.7611 GB, free: 8.523 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007059/0.5021, allocations: 5.251 MB / 0.7662 GB, free: 3.152 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002095/0.5042, allocations: 1.407 MB / 0.7676 GB, free: 1.711 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008165/0.505, allocations: 0.6522 MB / 0.7683 GB, free: 1.047 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004086/0.5091, allocations: 2.642 MB / 0.7708 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.022e-05/0.5091, allocations: 67.88 kB / 0.7709 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=166): time 3.376e-06/0.5091, allocations: 3.938 kB / 0.7709 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=166): time 0.004276/0.5134, allocations: 2.466 MB / 0.7733 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.718e-05/0.5135, allocations: 179.2 kB / 0.7735 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001462/0.5149, allocations: 1.437 MB / 0.7749 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001706/0.5151, allocations: 57.7 kB / 0.7749 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006249/0.5157, allocations: 0.8683 MB / 0.7758 GB, free: 9.219 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004243/0.5161, allocations: 0.6002 MB / 0.7764 GB, free: 8.613 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002741/0.5164, allocations: 299.5 kB / 0.7767 GB, free: 8.316 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.93e-05/0.5165, allocations: 301.1 kB / 0.777 GB, free: 8.02 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006837/0.5172, allocations: 495.8 kB / 0.7774 GB, free: 7.535 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008356/0.518, allocations: 0.8583 MB / 0.7783 GB, free: 6.531 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001545/0.5196, allocations: 1.46 MB / 0.7797 GB, free: 4.93 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.158e-06/0.5196, allocations: 4 kB / 0.7797 GB, free: 4.926 MB / 0.6198 GB Notification: Performance of matching and sorting (n=221) (initialization): time 0.002782/0.5223, allocations: 1.894 MB / 0.7815 GB, free: 3.016 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.96e-05/0.5224, allocations: 15.98 kB / 0.7816 GB, free: 3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.5224, allocations: 8 kB / 0.7816 GB, free: 2.992 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000588/0.523, allocations: 228.8 kB / 0.7818 GB, free: 2.754 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007861/0.5238, allocations: 387.4 kB / 0.7822 GB, free: 2.375 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004163/0.5279, allocations: 7.123 MB / 0.7891 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001687/0.5296, allocations: 170.7 kB / 0.7893 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002258/0.5298, allocations: 79.98 kB / 0.7893 GB, free: 10.44 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (206): * Single equations (assignments): 201 * 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.000704/0.5305, allocations: 345.6 kB / 0.7897 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006062/0.5311, allocations: 226.6 kB / 0.7899 GB, free: 9.867 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002845/0.534, allocations: 2.052 MB / 0.7919 GB, free: 7.762 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.355e-05/0.534, allocations: 20 kB / 0.7919 GB, free: 7.742 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.475e-05/0.534, allocations: 4.875 kB / 0.7919 GB, free: 7.738 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.342e-05/0.534, allocations: 7.969 kB / 0.7919 GB, free: 7.73 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005148/0.5392, allocations: 3.676 MB / 0.7955 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.5392, allocations: 4 kB / 0.7955 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005564/0.5397, allocations: 259.6 kB / 0.7958 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001115/0.5409, allocations: 479.5 kB / 0.7962 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/0.541, allocations: 55.97 kB / 0.7963 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00493/0.5459, allocations: 9.414 MB / 0.8055 GB, free: 9.039 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.5459, allocations: 4 kB / 0.8055 GB, free: 9.035 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003741/0.5496, allocations: 2.873 MB / 0.8083 GB, free: 6.09 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008917/0.5505, allocations: 366 kB / 0.8086 GB, free: 5.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002248/0.5508, allocations: 47.83 kB / 0.8087 GB, free: 5.684 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006494/0.5514, allocations: 63.95 kB / 0.8087 GB, free: 5.621 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000221/0.5516, allocations: 132.9 kB / 0.8089 GB, free: 5.492 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.845e-05/0.5517, allocations: 75.89 kB / 0.8089 GB, free: 5.418 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0009824/0.5527, allocations: 0.9802 MB / 0.8099 GB, free: 4.414 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5e-08/0.5527, allocations: 0 / 0.8099 GB, free: 4.414 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002424/0.5551, allocations: 0.8187 MB / 0.8107 GB, free: 3.594 MB / 0.6511 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.004617/0.5597, allocations: 4.094 MB / 0.8147 GB, free: 15.42 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002389/0.5621, allocations: 1.909 MB / 0.8166 GB, free: 13.45 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.5621, allocations: 4 kB / 0.8166 GB, free: 13.45 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001583/0.5637, allocations: 1.379 MB / 0.8179 GB, free: 12 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002912/0.5666, allocations: 0.9077 MB / 0.8188 GB, free: 11.12 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0194/0.586, allocations: 14.94 MB / 0.8334 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008338/0.5869, allocations: 0.8179 MB / 0.8342 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001636/0.5885, allocations: 379.9 kB / 0.8345 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009521/0.5895, allocations: 0.8244 MB / 0.8354 GB, free: 9.523 MB / 0.6823 GB Notification: Performance of SimCode: time 2.094e-06/0.5895, allocations: 4 kB / 0.8354 GB, free: 9.52 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09331/0.6828, allocations: 65.9 MB / 0.8997 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.26/10.95, allocations: 6.656 kB / 0.8997 GB, free: 8.426 MB / 0.7448 GB " [Timeout remaining time 649] (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: 13.618195250630379] Failed to read output from testmodel.py, exit status != 0: 11.06936950609088 11.081934143 10.596316536 Calling exit ...