Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.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.001762/0.001762, allocations: 118.8 kB / 17.16 MB, free: 5.914 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.002159/0.002159, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.581/1.581, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 0.7006/0.7006, allocations: 94.57 MB / 404.1 MB, free: 10.95 MB / 334.1 MB " [Timeout remaining time 179] 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.BasicControlValve,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_BasicControlValve",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.BasicControlValve,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_BasicControlValve",fmuType="cs",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.002627/0.002627, allocations: 75.89 kB / 0.5506 GB, free: 5.406 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5197/0.5223, allocations: 73.03 MB / 0.6219 GB, free: 8.484 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.BasicControlValve): time 0.06495/0.5873, allocations: 53.75 MB / 0.6744 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02767/0.615, allocations: 21.66 MB / 0.6955 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0024/0.6174, allocations: 99.06 kB / 0.6956 GB, free: 476 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003078/0.6204, allocations: 0.8963 MB / 0.6965 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006484/0.6269, allocations: 1.739 MB / 0.6982 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004549/0.6315, allocations: 1.331 MB / 0.6995 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.005017/0.6365, allocations: 2.575 MB / 0.702 GB, free: 9.891 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009562/0.6375, allocations: 314.2 kB / 0.7023 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002664/0.6401, allocations: 1.105 MB / 0.7034 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001432/0.6416, allocations: 0.9601 MB / 0.7043 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002506/0.6418, allocations: 128 kB / 0.7045 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00442/0.6462, allocations: 1.272 MB / 0.7057 GB, free: 6.078 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004446/0.6467, allocations: 342.3 kB / 0.706 GB, free: 5.742 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001356/0.648, allocations: 0.9049 MB / 0.7069 GB, free: 4.832 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.006868/0.6549, allocations: 2.692 MB / 0.7095 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.6549, allocations: 0 / 0.7095 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.884e-06/0.6549, allocations: 0 / 0.7095 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.951e-05/0.655, allocations: 0 / 0.7095 GB, free: 2.125 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 290 * Number of variables: 290 Notification: Performance of Generate backend data structure: time 0.005231/0.6602, allocations: 2.431 MB / 0.7119 GB, free: 15.63 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.438e-05/0.6603, allocations: 8.031 kB / 0.7119 GB, free: 15.62 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.71e-05/0.6603, allocations: 34.28 kB / 0.712 GB, free: 15.59 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002246/0.6605, allocations: 169.2 kB / 0.7121 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005577/0.6611, allocations: 230.5 kB / 0.7123 GB, free: 15.19 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002819/0.6639, allocations: 1.298 MB / 0.7136 GB, free: 13.84 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.301e-05/0.664, allocations: 86.22 kB / 0.7137 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001943/0.6642, allocations: 124 kB / 0.7138 GB, free: 13.63 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002197/0.6664, allocations: 1.202 MB / 0.715 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.577e-05/0.6664, allocations: 4 kB / 0.715 GB, free: 12.38 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/0.6665, allocations: 48 kB / 0.715 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.161e-05/0.6666, allocations: 31.94 kB / 0.7151 GB, free: 12.3 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002106/0.6687, allocations: 1.133 MB / 0.7162 GB, free: 11.16 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007646/0.6763, allocations: 5.013 MB / 0.7211 GB, free: 5.699 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001589/0.6779, allocations: 0.8164 MB / 0.7219 GB, free: 4.875 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007485/0.6786, allocations: 426.3 kB / 0.7223 GB, free: 4.461 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006659/0.6853, allocations: 5.166 MB / 0.7273 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.755e-05/0.6854, allocations: 47.56 kB / 0.7274 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=103): time 3.136e-06/0.6854, allocations: 0 / 0.7274 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of matching and sorting (n=103): time 0.004059/0.6894, allocations: 1.715 MB / 0.729 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.824e-05/0.6895, allocations: 60.41 kB / 0.7291 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00265/0.6922, allocations: 1.288 MB / 0.7303 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000287/0.6924, allocations: 45.7 kB / 0.7304 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009486/0.6934, allocations: 0.7699 MB / 0.7311 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005648/0.694, allocations: 368.8 kB / 0.7315 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003606/0.6943, allocations: 166.6 kB / 0.7317 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002722/0.6946, allocations: 345.9 kB / 0.732 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007552/0.6953, allocations: 301.9 kB / 0.7323 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009204/0.6963, allocations: 445.9 kB / 0.7327 GB, free: 8.758 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001597/0.6979, allocations: 0.7582 MB / 0.7334 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.6979, allocations: 0 / 0.7334 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002863/0.7007, allocations: 1.151 MB / 0.7346 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.984e-05/0.7008, allocations: 10.5 kB / 0.7346 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.797e-05/0.7008, allocations: 0 / 0.7346 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008051/0.7016, allocations: 170.6 kB / 0.7347 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007433/0.7023, allocations: 187.8 kB / 0.7349 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004759/0.7071, allocations: 4.825 MB / 0.7396 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009993/0.7081, allocations: 95.28 kB / 0.7397 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/0.7082, allocations: 47.92 kB / 0.7398 GB, free: 1.055 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (106): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006279/0.7088, allocations: 273.7 kB / 0.74 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003901/0.7092, allocations: 178.8 kB / 0.7402 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003301/0.7125, allocations: 1.638 MB / 0.7418 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.7125, allocations: 12 kB / 0.7418 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.7126, allocations: 7.938 kB / 0.7418 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.795e-05/0.7126, allocations: 7.969 kB / 0.7418 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004885/0.7175, allocations: 2.613 MB / 0.7444 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.7175, allocations: 0 / 0.7444 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000606/0.7181, allocations: 171.9 kB / 0.7445 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005921/0.7187, allocations: 170.5 kB / 0.7447 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-05/0.7187, allocations: 39.97 kB / 0.7447 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004477/0.7232, allocations: 4.818 MB / 0.7494 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.7232, allocations: 3.984 kB / 0.7494 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003271/0.7265, allocations: 1.627 MB / 0.751 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007233/0.7272, allocations: 343.7 kB / 0.7514 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001851/0.7274, allocations: 35.83 kB / 0.7514 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005791/0.728, allocations: 31.98 kB / 0.7514 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002016/0.7282, allocations: 72.89 kB / 0.7515 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.462e-05/0.7283, allocations: 47.97 kB / 0.7515 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001405/0.7297, allocations: 0.9054 MB / 0.7524 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7297, allocations: 0 / 0.7524 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001919/0.7316, allocations: 0.5962 MB / 0.753 GB, free: 2.859 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (flowResistance6.inlet.m_flow,flowResistance2.inlet.m_flow,flowResistance4.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 (92): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005122/0.7367, allocations: 2.814 MB / 0.7558 GB, free: 0 / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002426/0.7391, allocations: 1.138 MB / 0.7569 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.7392, allocations: 0 / 0.7569 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001389/0.7405, allocations: 0.7945 MB / 0.7576 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002929/0.7435, allocations: 0.5323 MB / 0.7582 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02055/0.764, allocations: 10.7 MB / 0.7686 GB, free: 2.461 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001065/0.7651, allocations: 1.261 MB / 0.7698 GB, free: 1.172 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00108/0.7662, allocations: 297.5 kB / 0.7701 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009743/0.7671, allocations: 0.7062 MB / 0.7708 GB, free: 204 kB / 0.5919 GB Notification: Performance of SimCode: time 1.633e-06/0.7671, allocations: 0 / 0.7708 GB, free: 204 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1083/0.8755, allocations: 45.79 MB / 0.8155 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.43/14.31, allocations: 15.78 kB / 0.8156 GB, free: 2.684 MB / 0.6387 GB " [Timeout remaining time 646] (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_FlowControl_Tests_BasicControlValve_fmu --startTime=0 --stopTime=20 --stepSize=0.02 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_FlowControl_Tests_BasicControlValve.fmu > ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 18.094115910003893] Failed to read output from testmodel.py, exit status != 0: 14.482622450974304 14.501420043 13.842659842 Calling exit ...