Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.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.001821/0.001821, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.002064/0.002064, allocations: 215 kB / 20.13 MB, free: 2.949 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.617/1.617, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.6729/0.6729, allocations: 94.58 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.TanValve,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_TanValve",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.TanValve,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_TanValve",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.002491/0.002491, allocations: 75.89 kB / 0.5506 GB, free: 5.422 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5101/0.5126, allocations: 73.03 MB / 0.6219 GB, free: 8.477 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.TanValve): time 0.2175/0.7301, allocations: 165.1 MB / 0.7831 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01777/0.7479, allocations: 12.99 MB / 0.7958 GB, free: 9.477 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001567/0.7495, allocations: 55.5 kB / 0.7959 GB, free: 9.422 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002035/0.7515, allocations: 0.5823 MB / 0.7964 GB, free: 8.836 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003407/0.7549, allocations: 0.9008 MB / 0.7973 GB, free: 7.93 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002816/0.7577, allocations: 0.8136 MB / 0.7981 GB, free: 7.113 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002448/0.7602, allocations: 1.365 MB / 0.7994 GB, free: 5.742 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004708/0.7606, allocations: 211 kB / 0.7996 GB, free: 5.516 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001202/0.7618, allocations: 0.5835 MB / 0.8002 GB, free: 4.93 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009488/0.7628, allocations: 0.6808 MB / 0.8009 GB, free: 4.246 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001208/0.7629, allocations: 76 kB / 0.8009 GB, free: 4.172 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003376/0.7663, allocations: 1.412 MB / 0.8023 GB, free: 2.758 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003366/0.7666, allocations: 195.1 kB / 0.8025 GB, free: 2.566 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0008148/0.7674, allocations: 0.5206 MB / 0.803 GB, free: 2.043 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003974/0.7714, allocations: 1.578 MB / 0.8045 GB, free: 472 kB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.7714, allocations: 0 / 0.8045 GB, free: 472 kB / 0.6231 GB Notification: Performance of FrontEnd: time 2.224e-06/0.7714, allocations: 0 / 0.8045 GB, free: 472 kB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.344e-05/0.7714, allocations: 0 / 0.8045 GB, free: 472 kB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.0028/0.7742, allocations: 1.474 MB / 0.806 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.7743, allocations: 8.031 kB / 0.806 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.186e-05/0.7743, allocations: 22.19 kB / 0.806 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001366/0.7745, allocations: 114.7 kB / 0.8061 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002257/0.7747, allocations: 128.1 kB / 0.8062 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001407/0.7761, allocations: 0.7918 MB / 0.807 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.855e-05/0.7761, allocations: 54 kB / 0.8071 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/0.7763, allocations: 68 kB / 0.8071 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/0.7776, allocations: 0.7314 MB / 0.8079 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.7776, allocations: 0 / 0.8079 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.026e-05/0.7777, allocations: 32 kB / 0.8079 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/0.7777, allocations: 19.94 kB / 0.8079 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001154/0.7789, allocations: 0.6324 MB / 0.8085 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004315/0.7832, allocations: 3.117 MB / 0.8116 GB, free: 8.84 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001319/0.7845, allocations: 0.5284 MB / 0.8121 GB, free: 8.305 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004406/0.7849, allocations: 222.5 kB / 0.8123 GB, free: 8.082 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003195/0.7881, allocations: 2.584 MB / 0.8148 GB, free: 5.086 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.101e-05/0.7882, allocations: 39.12 kB / 0.8149 GB, free: 5.039 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=55): time 2.605e-06/0.7882, allocations: 0 / 0.8149 GB, free: 5.039 MB / 0.6387 GB Notification: Performance of matching and sorting (n=56): time 0.00439/0.7926, allocations: 1.795 MB / 0.8166 GB, free: 3.152 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.902e-05/0.7926, allocations: 55.97 kB / 0.8167 GB, free: 3.082 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/0.7936, allocations: 0.7045 MB / 0.8173 GB, free: 2.371 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.58e-05/0.7937, allocations: 33.7 kB / 0.8174 GB, free: 2.332 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004033/0.7941, allocations: 448.8 kB / 0.8178 GB, free: 1.887 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002063/0.7943, allocations: 202.2 kB / 0.818 GB, free: 1.688 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001622/0.7945, allocations: 90.25 kB / 0.8181 GB, free: 1.594 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002/0.7947, allocations: 326 kB / 0.8184 GB, free: 1.27 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003632/0.795, allocations: 165 kB / 0.8186 GB, free: 1.109 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000434/0.7955, allocations: 235.2 kB / 0.8188 GB, free: 0.8594 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008786/0.7963, allocations: 435.6 kB / 0.8192 GB, free: 428 kB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.7963, allocations: 4 kB / 0.8192 GB, free: 424 kB / 0.6387 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001586/0.7979, allocations: 0.6436 MB / 0.8198 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/0.7979, allocations: 7.938 kB / 0.8198 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.798, allocations: 4 kB / 0.8198 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005387/0.7985, allocations: 108.9 kB / 0.8199 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004068/0.7989, allocations: 103.8 kB / 0.82 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002657/0.8016, allocations: 2.051 MB / 0.822 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004549/0.802, allocations: 24.08 kB / 0.8221 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.76e-05/0.8021, allocations: 16 kB / 0.8221 GB, free: 13.32 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004178/0.8025, allocations: 213.7 kB / 0.8223 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001862/0.8027, allocations: 91.39 kB / 0.8224 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001784/0.8045, allocations: 0.8566 MB / 0.8232 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.8045, allocations: 4 kB / 0.8232 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/0.8045, allocations: 11.94 kB / 0.8232 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.759e-06/0.8045, allocations: 4.094 kB / 0.8232 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002723/0.8072, allocations: 1.535 MB / 0.8247 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.8072, allocations: 4 kB / 0.8247 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003339/0.8076, allocations: 87.89 kB / 0.8248 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004097/0.808, allocations: 112.8 kB / 0.8249 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.325e-05/0.808, allocations: 23.98 kB / 0.8249 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002489/0.8105, allocations: 2.051 MB / 0.8269 GB, free: 8.086 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.8105, allocations: 4.062 kB / 0.827 GB, free: 8.082 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001924/0.8124, allocations: 0.9805 MB / 0.8279 GB, free: 7.066 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002536/0.8127, allocations: 168.5 kB / 0.8281 GB, free: 6.883 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.009e-05/0.8128, allocations: 12 kB / 0.8281 GB, free: 6.871 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003416/0.8131, allocations: 15.98 kB / 0.8281 GB, free: 6.855 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.8132, allocations: 48.44 kB / 0.8281 GB, free: 6.809 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.356e-05/0.8133, allocations: 24 kB / 0.8282 GB, free: 6.785 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007615/0.814, allocations: 0.5107 MB / 0.8287 GB, free: 6.277 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.814, allocations: 3.938 kB / 0.8287 GB, free: 6.273 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001061/0.8151, allocations: 331.4 kB / 0.829 GB, free: 5.949 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (flowResistance1.inlet.m_flow,flowResistance2.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 (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003146/0.8182, allocations: 1.884 MB / 0.8308 GB, free: 4.023 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001474/0.8197, allocations: 0.6033 MB / 0.8314 GB, free: 3.402 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.8197, allocations: 4.312 kB / 0.8314 GB, free: 3.398 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000809/0.8205, allocations: 405.7 kB / 0.8318 GB, free: 2.992 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001429/0.822, allocations: 271.6 kB / 0.8321 GB, free: 2.738 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3609/1.183, allocations: 6.31 MB / 0.8382 GB, free: 206.3 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004814/1.183, allocations: 1.006 MB / 0.8392 GB, free: 205.6 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005221/1.184, allocations: 153.3 kB / 0.8394 GB, free: 205.6 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004175/1.184, allocations: 377.8 kB / 0.8397 GB, free: 205.3 MB / 0.6544 GB Notification: Performance of SimCode: time 1.062e-06/1.184, allocations: 0 / 0.8397 GB, free: 205.3 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06603/1.25, allocations: 25.94 MB / 0.865 GB, free: 186.1 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/13.29, allocations: 15.92 kB / 0.8651 GB, free: 186.1 MB / 0.6544 GB " [Timeout remaining time 647] (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_FlowControl_Tests_TanValve_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_FlowControl_Tests_TanValve.fmu > ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 17.037541908968706] Failed to read output from testmodel.py, exit status != 0: 13.457284099014942 13.475179403 12.699846505 Calling exit ...