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.0007124/0.0007124, allocations: 96.7 kB / 19.44 MB, free: 348 kB / 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.0008998/0.0008998, allocations: 157.3 kB / 22.75 MB, free: 1.68 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.9169/0.9169, allocations: 177.1 MB / 203.1 MB, free: 5.16 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.7402/0.7402, allocations: 118.5 MB / 378 MB, free: 1.57 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.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 2.354e-06/2.354e-06, allocations: 0 / 482.2 MB, free: 8.66 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/2.086e-05, allocations: 5.406 kB / 482.2 MB, free: 8.656 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.ValveReferenceValues_Undirected): time 0.04024/0.04026, allocations: 46.13 MB / 0.516 GB, free: 3.473 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01634/0.0566, allocations: 12.32 MB / 0.528 GB, free: 7.129 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002815/0.05942, allocations: 118.9 kB / 0.5281 GB, free: 7.012 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002365/0.06178, allocations: 1.317 MB / 0.5294 GB, free: 5.688 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006104/0.06789, allocations: 2.325 MB / 0.5317 GB, free: 3.348 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004801/0.07269, allocations: 1.794 MB / 0.5334 GB, free: 1.547 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.005155/0.07784, allocations: 3.861 MB / 0.5372 GB, free: 13.67 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001441/0.07928, allocations: 332.5 kB / 0.5375 GB, free: 13.31 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005049/0.08433, allocations: 2.695 MB / 0.5402 GB, free: 10.61 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001659/0.08599, allocations: 0.9968 MB / 0.5411 GB, free: 9.609 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003995/0.08639, allocations: 144 kB / 0.5413 GB, free: 9.469 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003465/0.08986, allocations: 1.076 MB / 0.5423 GB, free: 8.391 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003317/0.09019, allocations: 0.5211 MB / 0.5428 GB, free: 7.867 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009016/0.09109, allocations: 0.7596 MB / 0.5436 GB, free: 7.105 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004802/0.09589, allocations: 3.441 MB / 0.5469 GB, free: 3.652 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.0959, allocations: 4 kB / 0.5469 GB, free: 3.648 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.026e-06/0.0959, allocations: 0 / 0.5469 GB, free: 3.648 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.674e-05/0.09593, allocations: 0 / 0.5469 GB, free: 3.648 MB / 474.7 MB 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.003841/0.09977, allocations: 3.038 MB / 0.5499 GB, free: 0.5625 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.09982, allocations: 8.031 kB / 0.5499 GB, free: 0.5547 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001615/0.09998, allocations: 194.7 kB / 0.5501 GB, free: 364 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004603/0.1004, allocations: 419.1 kB / 0.5505 GB, free: 15.94 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002622/0.1031, allocations: 1.805 MB / 0.5523 GB, free: 14.07 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.822e-05/0.1031, allocations: 106.8 kB / 0.5524 GB, free: 13.96 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/0.1033, allocations: 151.9 kB / 0.5525 GB, free: 13.81 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001721/0.105, allocations: 1.64 MB / 0.5541 GB, free: 12.07 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.272e-05/0.105, allocations: 7.984 kB / 0.5541 GB, free: 12.06 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.579e-05/0.1051, allocations: 56 kB / 0.5542 GB, free: 12.01 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.071e-05/0.1051, allocations: 36 kB / 0.5542 GB, free: 11.97 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001599/0.1067, allocations: 1.361 MB / 0.5555 GB, free: 10.61 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004978/0.1117, allocations: 4.596 MB / 0.56 GB, free: 5.898 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001411/0.1131, allocations: 1.016 MB / 0.561 GB, free: 4.883 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006654/0.1138, allocations: 0.5191 MB / 0.5615 GB, free: 4.363 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003073/0.1169, allocations: 2.113 MB / 0.5636 GB, free: 2.227 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.176e-05/0.1169, allocations: 55.81 kB / 0.5636 GB, free: 2.164 MB / 490.7 MB Notification: Performance of pre-optimization done (n=145): time 2.455e-06/0.1169, allocations: 0 / 0.5636 GB, free: 2.164 MB / 490.7 MB Notification: Performance of matching and sorting (n=145): time 0.003418/0.1203, allocations: 2.016 MB / 0.5656 GB, free: 128 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.1204, allocations: 68.72 kB / 0.5657 GB, free: 44 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001758/0.1221, allocations: 2.096 MB / 0.5677 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.596e-05/0.1222, allocations: 53.7 kB / 0.5678 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005956/0.1228, allocations: 0.9115 MB / 0.5687 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002897/0.1231, allocations: 0.5033 MB / 0.5691 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002705/0.1233, allocations: 283.4 kB / 0.5694 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.1235, allocations: 353.9 kB / 0.5698 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005508/0.124, allocations: 407.8 kB / 0.5701 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000838/0.1249, allocations: 1.056 MB / 0.5712 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001271/0.1261, allocations: 1.028 MB / 0.5722 GB, free: 9.113 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/0.1261, allocations: 4 kB / 0.5722 GB, free: 9.109 MB / 0.4948 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002351/0.1285, allocations: 1.601 MB / 0.5737 GB, free: 7.48 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.1285, allocations: 11.92 kB / 0.5738 GB, free: 7.469 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.1285, allocations: 4 kB / 0.5738 GB, free: 7.465 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003949/0.1289, allocations: 185.4 kB / 0.5739 GB, free: 7.266 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005648/0.1295, allocations: 279.6 kB / 0.5742 GB, free: 6.992 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00474/0.1342, allocations: 8.129 MB / 0.5821 GB, free: 14.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006308/0.1349, allocations: 181.9 kB / 0.5823 GB, free: 14 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.684e-05/0.135, allocations: 55.97 kB / 0.5824 GB, free: 13.95 MB / 0.5105 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.0005132/0.1355, allocations: 457.6 kB / 0.5828 GB, free: 13.49 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002593/0.1357, allocations: 322.2 kB / 0.5831 GB, free: 13.17 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002811/0.1385, allocations: 2.703 MB / 0.5858 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.1385, allocations: 15.94 kB / 0.5858 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1385, allocations: 7.938 kB / 0.5858 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.1386, allocations: 7.969 kB / 0.5858 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004075/0.1426, allocations: 3.192 MB / 0.5889 GB, free: 7.016 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.1426, allocations: 4 kB / 0.5889 GB, free: 7.012 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003942/0.143, allocations: 199.7 kB / 0.5891 GB, free: 6.816 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003483/0.1434, allocations: 201 kB / 0.5893 GB, free: 6.602 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.079e-05/0.1434, allocations: 44.05 kB / 0.5893 GB, free: 6.559 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004398/0.1478, allocations: 8.127 MB / 0.5973 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.244e-06/0.1478, allocations: 11.94 kB / 0.5973 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002319/0.1502, allocations: 2.072 MB / 0.5993 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001156/0.1513, allocations: 459.7 kB / 0.5997 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000148/0.1515, allocations: 39.89 kB / 0.5998 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003946/0.1519, allocations: 39.98 kB / 0.5998 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001948/0.1521, allocations: 108.7 kB / 0.5999 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.071e-05/0.1521, allocations: 47.97 kB / 0.6 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001367/0.1535, allocations: 1.517 MB / 0.6014 GB, free: 9.355 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/0.1535, allocations: 0 / 0.6014 GB, free: 9.355 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001396/0.1549, allocations: 0.5969 MB / 0.602 GB, free: 8.758 MB / 0.5261 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.003907/0.1588, allocations: 3.357 MB / 0.6053 GB, free: 5.504 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002239/0.161, allocations: 1.694 MB / 0.607 GB, free: 3.73 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.161, allocations: 0 / 0.607 GB, free: 3.73 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001003/0.162, allocations: 1.213 MB / 0.6081 GB, free: 2.438 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002336/0.1644, allocations: 0.9831 MB / 0.6091 GB, free: 1.477 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01742/0.1818, allocations: 15.32 MB / 0.6241 GB, free: 1.688 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007795/0.1826, allocations: 0.9451 MB / 0.625 GB, free: 0.707 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001303/0.1839, allocations: 429.5 kB / 0.6254 GB, free: 352 kB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008726/0.1847, allocations: 0.9338 MB / 0.6263 GB, free: 15.41 MB / 0.5573 GB Notification: Performance of SimCode: time 2.324e-06/0.1847, allocations: 0 / 0.6263 GB, free: 15.41 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3491/0.5339, allocations: 63.7 MB / 0.6885 GB, free: 136.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.546/10.08, allocations: 8 kB / 0.6885 GB, free: 136 MB / 0.5573 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.89464446529746]