Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.ValveReferenceValues_Undirected.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.0008968/0.0008968, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0008349/0.0008349, allocations: 213.2 kB / 22.25 MB, free: 3.586 MB / 13.93 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.9237/0.9237, allocations: 230.6 MB / 256 MB, free: 9.633 MB / 202.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.6991/0.6991, allocations: 154 MB / 466.4 MB, free: 3.5 MB / 362.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.Undirected.FlowControl.Tests.ValveReferenceValues_Undirected,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_FlowControl_Tests_ValveReferenceValues_Undirected",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.FlowControl.Tests.ValveReferenceValues_Undirected,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Undirected_FlowControl_Tests_ValveReferenceValues_Undirected",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001647/0.001647, allocations: 91.81 kB / 0.6436 GB, free: 28.51 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1462, allocations: 88.78 MB / 0.7303 GB, free: 3.539 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.ValveReferenceValues_Undirected): time 0.03275/0.1789, allocations: 46.54 MB / 0.7758 GB, free: 4.832 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.01394/0.1929, allocations: 12.3 MB / 0.7878 GB, free: 8.496 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002651/0.1955, allocations: 122.9 kB / 0.7879 GB, free: 8.375 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002967/0.1985, allocations: 1.294 MB / 0.7892 GB, free: 7.074 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.005508/0.204, allocations: 2.256 MB / 0.7914 GB, free: 4.805 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003565/0.2076, allocations: 1.772 MB / 0.7931 GB, free: 3.035 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.004307/0.2119, allocations: 3.714 MB / 0.7967 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006071/0.2125, allocations: 328.5 kB / 0.7971 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00309/0.2156, allocations: 2.176 MB / 0.7992 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001371/0.2169, allocations: 1.174 MB / 0.8003 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.000242/0.2172, allocations: 144 kB / 0.8005 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002118/0.2193, allocations: 1.057 MB / 0.8015 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003543/0.2197, allocations: 0.5134 MB / 0.802 GB, free: 9.875 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0008666/0.2205, allocations: 0.9595 MB / 0.8029 GB, free: 8.91 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00469/0.2252, allocations: 3.466 MB / 0.8063 GB, free: 5.43 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.2252, allocations: 0 / 0.8063 GB, free: 5.43 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.274e-06/0.2252, allocations: 0 / 0.8063 GB, free: 5.43 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.76e-05/0.2253, allocations: 0 / 0.8063 GB, free: 5.43 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.003871/0.2291, allocations: 3.065 MB / 0.8093 GB, free: 2.316 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.2292, allocations: 8.031 kB / 0.8093 GB, free: 2.309 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001686/0.2293, allocations: 194.7 kB / 0.8095 GB, free: 2.109 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003873/0.2297, allocations: 315 kB / 0.8098 GB, free: 1.801 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002417/0.2321, allocations: 1.699 MB / 0.8115 GB, free: 24 kB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.567e-05/0.2322, allocations: 110.6 kB / 0.8116 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001393/0.2324, allocations: 148 kB / 0.8117 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00174/0.2341, allocations: 1.643 MB / 0.8133 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/0.2341, allocations: 0 / 0.8133 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.307e-05/0.2342, allocations: 52 kB / 0.8134 GB, free: 13.97 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/0.2342, allocations: 36 kB / 0.8134 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001583/0.2358, allocations: 1.369 MB / 0.8147 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005815/0.2416, allocations: 4.569 MB / 0.8192 GB, free: 7.887 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001421/0.243, allocations: 1.016 MB / 0.8202 GB, free: 6.859 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000656/0.2437, allocations: 0.5241 MB / 0.8207 GB, free: 6.332 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003537/0.2472, allocations: 2.09 MB / 0.8227 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.2472, allocations: 47.88 kB / 0.8228 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=145): time 2.635e-06/0.2473, allocations: 0 / 0.8228 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of matching and sorting (n=145): time 0.002863/0.2501, allocations: 1.977 MB / 0.8247 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003409/0.2505, allocations: 68.72 kB / 0.8248 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3379/0.5884, allocations: 2.1 MB / 0.8268 GB, free: 93.21 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0003531/0.5887, allocations: 58.8 kB / 0.8269 GB, free: 93.18 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008208/0.5896, allocations: 0.9088 MB / 0.8278 GB, free: 92.84 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004104/0.59, allocations: 0.5153 MB / 0.8283 GB, free: 92.71 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000351/0.5903, allocations: 281.4 kB / 0.8285 GB, free: 92.59 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.409e-05/0.5904, allocations: 354 kB / 0.8289 GB, free: 92.26 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006707/0.5911, allocations: 405.7 kB / 0.8293 GB, free: 92.11 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000756/0.5918, allocations: 1.057 MB / 0.8303 GB, free: 91.2 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00126/0.5931, allocations: 1.026 MB / 0.8313 GB, free: 90.67 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.5931, allocations: 1.406 kB / 0.8313 GB, free: 90.67 MB / 0.6355 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002479/0.5956, allocations: 1.547 MB / 0.8328 GB, free: 89.99 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/0.5956, allocations: 10.69 kB / 0.8328 GB, free: 89.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.5956, allocations: 4.438 kB / 0.8328 GB, free: 89.99 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004385/0.596, allocations: 191.6 kB / 0.833 GB, free: 89.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00062/0.5967, allocations: 280.4 kB / 0.8333 GB, free: 89.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003721/0.6004, allocations: 8.112 MB / 0.8412 GB, free: 81.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/0.6016, allocations: 175.9 kB / 0.8414 GB, free: 81.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000132/0.6017, allocations: 62.12 kB / 0.8414 GB, free: 81.88 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008459/0.6025, allocations: 457.9 kB / 0.8419 GB, free: 81.61 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004127/0.6029, allocations: 281.3 kB / 0.8421 GB, free: 81.46 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003803/0.6067, allocations: 2.714 MB / 0.8448 GB, free: 80.21 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-05/0.6068, allocations: 11.84 kB / 0.8448 GB, free: 80.21 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.6068, allocations: 2.406 kB / 0.8448 GB, free: 80.21 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.415e-05/0.6068, allocations: 6.562 kB / 0.8448 GB, free: 80.21 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0045/0.6113, allocations: 3.182 MB / 0.8479 GB, free: 78.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.518e-05/0.6113, allocations: 5.625 kB / 0.8479 GB, free: 78.59 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006614/0.612, allocations: 197 kB / 0.8481 GB, free: 78.57 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005051/0.6125, allocations: 203.5 kB / 0.8483 GB, free: 78.49 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.597e-05/0.6126, allocations: 43.34 kB / 0.8483 GB, free: 78.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003528/0.6161, allocations: 8.129 MB / 0.8563 GB, free: 70.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.6161, allocations: 4.547 kB / 0.8563 GB, free: 70.55 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00326/0.6194, allocations: 2.054 MB / 0.8583 GB, free: 69.44 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001104/0.6205, allocations: 456.4 kB / 0.8587 GB, free: 69.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002011/0.6207, allocations: 37.89 kB / 0.8588 GB, free: 69.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004747/0.6211, allocations: 37.41 kB / 0.8588 GB, free: 69.16 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002588/0.6214, allocations: 115.5 kB / 0.8589 GB, free: 69.14 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-05/0.6215, allocations: 48.25 kB / 0.859 GB, free: 69.13 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001976/0.6235, allocations: 1.516 MB / 0.8604 GB, free: 68.6 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6235, allocations: 0 / 0.8604 GB, free: 68.6 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00176/0.6252, allocations: 0.6003 MB / 0.861 GB, free: 68.51 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 6 (reference.rear.m_flow,dp_ref.rear.m_flow,rho_ref.rear.m_flow,reference1.rear.m_flow,dp_ref1.rear.m_flow,rho_ref1.rear.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 (110): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,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.004189/0.6294, allocations: 3.324 MB / 0.8643 GB, free: 66.76 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00229/0.6317, allocations: 1.696 MB / 0.8659 GB, free: 65.73 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/0.6317, allocations: 1.25 kB / 0.8659 GB, free: 65.73 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001106/0.6328, allocations: 1.211 MB / 0.8671 GB, free: 64.86 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002982/0.6358, allocations: 0.9392 MB / 0.868 GB, free: 64.56 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01624/0.652, allocations: 15.23 MB / 0.8829 GB, free: 54.56 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006335/0.6527, allocations: 0.9418 MB / 0.8838 GB, free: 53.59 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001438/0.6541, allocations: 438.5 kB / 0.8842 GB, free: 53.21 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006499/0.6548, allocations: 0.9249 MB / 0.8851 GB, free: 52.29 MB / 0.6355 GB Notification: Performance of SimCode: time 3.747e-06/0.6548, allocations: 0 / 0.8851 GB, free: 52.29 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0892/0.744, allocations: 63.35 MB / 0.947 GB, free: 5.516 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.804/9.548, allocations: 6.391 kB / 0.947 GB, free: 5.512 MB / 0.6511 GB " [Timeout remaining time 650] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.ValveReferenceValues_Undirected.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.ValveReferenceValues_Undirected.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.ValveReferenceValues_Undirected.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.ValveReferenceValues_Undirected.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.ValveReferenceValues_Undirected_res.csv --start-time 0 --stop-time 20 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 ThermofluidStream_dev_ThermofluidStream_Undirected_FlowControl_Tests_ValveReferenceValues_Undirected.fmu > ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.ValveReferenceValues_Undirected.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 12.503542847931385]