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.001022/0.001022, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001021/0.001021, allocations: 169.9 kB / 22.46 MB, free: 2.105 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 1.037/1.037, allocations: 177.2 MB / 202.8 MB, free: 5.746 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.8379/0.8379, allocations: 118.5 MB / 377.7 MB, free: 1.758 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 1.493e-06/1.493e-06, allocations: 0 / 0.557 GB, free: 9.207 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.371e-05/2.52e-05, allocations: 6.281 kB / 0.557 GB, free: 9.199 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.ValveReferenceValues_Undirected): time 0.03134/0.03136, allocations: 46.14 MB / 0.6021 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01175/0.04312, allocations: 12.31 MB / 0.6141 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00175/0.04487, allocations: 118.9 kB / 0.6142 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.00215/0.04702, allocations: 1.313 MB / 0.6155 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.004173/0.05119, allocations: 2.325 MB / 0.6178 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.00408/0.05527, allocations: 1.808 MB / 0.6195 GB, free: 8.957 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.003778/0.05905, allocations: 3.841 MB / 0.6233 GB, free: 5.098 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000553/0.0596, allocations: 332.4 kB / 0.6236 GB, free: 4.746 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002864/0.06247, allocations: 2.695 MB / 0.6262 GB, free: 2.043 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009323/0.0634, allocations: 0.9929 MB / 0.6272 GB, free: 1.047 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0001795/0.06358, allocations: 148 kB / 0.6274 GB, free: 0.9023 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002037/0.06562, allocations: 1.064 MB / 0.6284 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003209/0.06594, allocations: 0.5289 MB / 0.6289 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0005487/0.06648, allocations: 0.7557 MB / 0.6297 GB, free: 14.55 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.002815/0.0693, allocations: 3.446 MB / 0.633 GB, free: 11.09 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.0693, allocations: 0 / 0.633 GB, free: 11.09 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.603e-06/0.06931, allocations: 0 / 0.633 GB, free: 11.09 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.189e-05/0.06934, allocations: 4 kB / 0.633 GB, free: 11.09 MB / 0.5573 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.003101/0.07244, allocations: 3.03 MB / 0.636 GB, free: 8.008 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.07248, allocations: 16.03 kB / 0.636 GB, free: 7.992 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001665/0.07265, allocations: 194.7 kB / 0.6362 GB, free: 7.793 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002949/0.07294, allocations: 315 kB / 0.6365 GB, free: 7.484 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002006/0.07495, allocations: 1.688 MB / 0.6381 GB, free: 5.715 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.621e-05/0.075, allocations: 110.8 kB / 0.6382 GB, free: 5.605 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001365/0.07514, allocations: 155.9 kB / 0.6384 GB, free: 5.453 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001597/0.07674, allocations: 1.636 MB / 0.64 GB, free: 3.715 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.07676, allocations: 3.938 kB / 0.64 GB, free: 3.711 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.082e-05/0.07683, allocations: 56 kB / 0.64 GB, free: 3.656 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/0.07685, allocations: 32 kB / 0.6401 GB, free: 3.625 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001502/0.07835, allocations: 1.369 MB / 0.6414 GB, free: 2.25 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.288/0.3663, allocations: 4.543 MB / 0.6458 GB, free: 89.01 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001594/0.3679, allocations: 1.032 MB / 0.6469 GB, free: 88.68 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006518/0.3686, allocations: 0.5244 MB / 0.6474 GB, free: 88.48 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003296/0.3719, allocations: 2.085 MB / 0.6494 GB, free: 87.63 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.3719, allocations: 50.88 kB / 0.6494 GB, free: 87.58 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=145): time 2.735e-06/0.3719, allocations: 0 / 0.6494 GB, free: 87.58 MB / 0.5573 GB Notification: Performance of matching and sorting (n=145): time 0.00297/0.3749, allocations: 1.973 MB / 0.6514 GB, free: 86.96 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/0.3749, allocations: 67.41 kB / 0.6514 GB, free: 86.89 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001711/0.3766, allocations: 2.099 MB / 0.6535 GB, free: 86.17 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.391e-05/0.3767, allocations: 57.8 kB / 0.6535 GB, free: 86.12 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004103/0.3771, allocations: 0.9108 MB / 0.6544 GB, free: 85.45 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001852/0.3773, allocations: 0.5077 MB / 0.6549 GB, free: 85.11 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002804/0.3775, allocations: 282.8 kB / 0.6552 GB, free: 84.98 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 6.224e-05/0.3776, allocations: 359.5 kB / 0.6555 GB, free: 84.65 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004857/0.3781, allocations: 400.6 kB / 0.6559 GB, free: 84.5 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006682/0.3788, allocations: 1.061 MB / 0.657 GB, free: 83.58 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/0.3798, allocations: 1.02 MB / 0.658 GB, free: 83.05 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.3798, allocations: 11.5 kB / 0.658 GB, free: 83.05 MB / 0.5573 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.00165/0.3815, allocations: 1.541 MB / 0.6595 GB, free: 82.37 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.3815, allocations: 8.953 kB / 0.6595 GB, free: 82.37 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.3815, allocations: 2.281 kB / 0.6595 GB, free: 82.37 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003418/0.3818, allocations: 197 kB / 0.6597 GB, free: 82.28 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006032/0.3824, allocations: 276 kB / 0.6599 GB, free: 82.25 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003384/0.3858, allocations: 8.107 MB / 0.6678 GB, free: 74.35 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007228/0.3866, allocations: 179.7 kB / 0.668 GB, free: 74.27 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001536/0.3867, allocations: 57.27 kB / 0.6681 GB, free: 74.26 MB / 0.5573 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.0005854/0.3873, allocations: 457.2 kB / 0.6685 GB, free: 73.99 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002469/0.3875, allocations: 278.1 kB / 0.6688 GB, free: 73.84 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002915/0.3905, allocations: 2.722 MB / 0.6714 GB, free: 72.6 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/0.3905, allocations: 12.19 kB / 0.6714 GB, free: 72.6 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3905, allocations: 2.719 kB / 0.6714 GB, free: 72.6 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.3905, allocations: 9.891 kB / 0.6715 GB, free: 72.59 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003568/0.394, allocations: 3.181 MB / 0.6746 GB, free: 70.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.3941, allocations: 4.375 kB / 0.6746 GB, free: 70.98 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004095/0.3945, allocations: 198.1 kB / 0.6748 GB, free: 70.96 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00028/0.3947, allocations: 199.2 kB / 0.6749 GB, free: 70.88 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.287e-05/0.3948, allocations: 51.88 kB / 0.675 GB, free: 70.85 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002492/0.3973, allocations: 8.106 MB / 0.6829 GB, free: 62.94 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.3973, allocations: 5.438 kB / 0.6829 GB, free: 62.94 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002138/0.3994, allocations: 2.038 MB / 0.6849 GB, free: 61.84 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004594/0.3999, allocations: 464.9 kB / 0.6854 GB, free: 61.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/0.4, allocations: 37.88 kB / 0.6854 GB, free: 61.57 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004027/0.4004, allocations: 43.62 kB / 0.6854 GB, free: 61.55 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.4006, allocations: 106.1 kB / 0.6855 GB, free: 61.54 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-05/0.4006, allocations: 55 kB / 0.6856 GB, free: 61.52 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001335/0.4019, allocations: 1.51 MB / 0.6871 GB, free: 61 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9e-08/0.4019, allocations: 0 / 0.6871 GB, free: 61 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001095/0.403, allocations: 0.6029 MB / 0.6876 GB, free: 60.9 MB / 0.5573 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.003277/0.4063, allocations: 3.321 MB / 0.6909 GB, free: 59.04 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001447/0.4078, allocations: 1.686 MB / 0.6925 GB, free: 57.88 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4078, allocations: 0 / 0.6925 GB, free: 57.88 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007621/0.4085, allocations: 1.211 MB / 0.6937 GB, free: 56.91 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002071/0.4106, allocations: 0.9509 MB / 0.6946 GB, free: 56.39 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01362/0.4242, allocations: 15.18 MB / 0.7095 GB, free: 42.12 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005347/0.4247, allocations: 0.9432 MB / 0.7104 GB, free: 41.15 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009511/0.4257, allocations: 430.9 kB / 0.7108 GB, free: 40.78 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006453/0.4263, allocations: 0.9299 MB / 0.7117 GB, free: 39.85 MB / 0.5573 GB Notification: Performance of SimCode: time 1.152e-06/0.4263, allocations: 0 / 0.7117 GB, free: 39.85 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08213/0.5085, allocations: 63.47 MB / 0.7737 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.018/9.527, allocations: 0 / 0.7737 GB, free: 9.195 MB / 0.5886 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.831875141710043]