Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.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.001649/0.001649, allocations: 114.7 kB / 17.17 MB, free: 5.98 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.001563/0.001563, allocations: 212 kB / 20.13 MB, free: 3.035 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.521/1.521, 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.6771/0.6771, 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.Undirected.FlowControl.Tests.TanValve,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_FlowControl_Tests_TanValve",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.FlowControl.Tests.TanValve,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_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.002469/0.002469, allocations: 85.12 kB / 0.5506 GB, free: 5.379 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4377/0.4402, allocations: 73.02 MB / 0.6219 GB, free: 8.379 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.TanValve): time 0.2242/0.6644, allocations: 173.9 MB / 0.7917 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01637/0.6808, allocations: 11.02 MB / 0.8025 GB, free: 2.52 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002136/0.6829, allocations: 63.44 kB / 0.8026 GB, free: 2.457 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002755/0.6857, allocations: 0.8076 MB / 0.8033 GB, free: 1.645 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005727/0.6914, allocations: 1.694 MB / 0.805 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003785/0.6952, allocations: 1.11 MB / 0.8061 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004599/0.6998, allocations: 2.549 MB / 0.8086 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007668/0.7005, allocations: 301.8 kB / 0.8089 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002435/0.703, allocations: 1.078 MB / 0.8099 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002482/0.7055, allocations: 1.39 MB / 0.8113 GB, free: 9.461 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003712/0.7058, allocations: 144 kB / 0.8114 GB, free: 9.32 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005032/0.7109, allocations: 1.969 MB / 0.8133 GB, free: 7.348 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005907/0.7114, allocations: 366.6 kB / 0.8137 GB, free: 6.988 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001397/0.7128, allocations: 0.8047 MB / 0.8145 GB, free: 6.18 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006208/0.7191, allocations: 2.614 MB / 0.817 GB, free: 3.559 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.7191, allocations: 0 / 0.817 GB, free: 3.559 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7191, allocations: 0 / 0.817 GB, free: 3.559 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.197e-05/0.7191, allocations: 0 / 0.817 GB, free: 3.559 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.005038/0.7241, allocations: 2.081 MB / 0.819 GB, free: 1.414 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.7242, allocations: 8.031 kB / 0.8191 GB, free: 1.406 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.404e-05/0.7242, allocations: 34.59 kB / 0.8191 GB, free: 1.371 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002265/0.7245, allocations: 177.8 kB / 0.8193 GB, free: 1.188 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003915/0.7249, allocations: 179.8 kB / 0.8194 GB, free: 1.012 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001882/0.7267, allocations: 0.9835 MB / 0.8204 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-05/0.7268, allocations: 94.47 kB / 0.8205 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002007/0.727, allocations: 127.9 kB / 0.8206 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002786/0.7298, allocations: 1.528 MB / 0.8221 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.849e-05/0.7298, allocations: 3.938 kB / 0.8221 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/0.73, allocations: 52 kB / 0.8221 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.797e-05/0.73, allocations: 28 kB / 0.8222 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00306/0.7331, allocations: 1.665 MB / 0.8238 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008501/0.7416, allocations: 6.23 MB / 0.8299 GB, free: 5.598 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002584/0.7441, allocations: 1.184 MB / 0.831 GB, free: 4.402 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001184/0.7453, allocations: 0.6255 MB / 0.8316 GB, free: 3.773 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.373/1.118, allocations: 4.02 MB / 0.8356 GB, free: 208.1 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001754/1.12, allocations: 0.7321 MB / 0.8363 GB, free: 207.9 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=128): time 3.897e-06/1.12, allocations: 0 / 0.8363 GB, free: 207.9 MB / 0.6544 GB Notification: Performance of matching and sorting (n=129): time 0.007916/1.128, allocations: 3.982 MB / 0.8402 GB, free: 206 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/1.128, allocations: 65.09 kB / 0.8402 GB, free: 206 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008416/1.129, allocations: 0.7131 MB / 0.8409 GB, free: 205.7 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.198e-05/1.129, allocations: 49.34 kB / 0.841 GB, free: 205.6 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003588/1.129, allocations: 0.5323 MB / 0.8415 GB, free: 205.3 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002757/1.13, allocations: 461.8 kB / 0.8419 GB, free: 204.9 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003278/1.13, allocations: 205.6 kB / 0.8421 GB, free: 204.8 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.114e-05/1.13, allocations: 352.1 kB / 0.8425 GB, free: 204.5 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009165/1.131, allocations: 0.5101 MB / 0.843 GB, free: 204.3 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/1.132, allocations: 0.632 MB / 0.8436 GB, free: 204 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002063/1.134, allocations: 1.242 MB / 0.8448 GB, free: 203.4 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/1.134, allocations: 1.312 kB / 0.8448 GB, free: 203.4 MB / 0.6544 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003095/1.137, allocations: 1.593 MB / 0.8464 GB, free: 202.7 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.255e-05/1.137, allocations: 36.02 kB / 0.8464 GB, free: 202.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/1.137, allocations: 1.344 kB / 0.8464 GB, free: 202.6 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005064/1.138, allocations: 169.2 kB / 0.8466 GB, free: 202.6 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008289/1.138, allocations: 241.5 kB / 0.8468 GB, free: 202.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003263/1.142, allocations: 2.712 MB / 0.8494 GB, free: 200.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007685/1.143, allocations: 51.81 kB / 0.8495 GB, free: 200.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/1.143, allocations: 51.31 kB / 0.8495 GB, free: 200.2 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 1 * 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 {(3,11,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005149/1.143, allocations: 299 kB / 0.8498 GB, free: 199.9 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002086/1.143, allocations: 126.1 kB / 0.8499 GB, free: 199.9 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003545/1.147, allocations: 2.31 MB / 0.8522 GB, free: 198.6 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/1.147, allocations: 16.92 kB / 0.8522 GB, free: 198.6 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/1.147, allocations: 3.938 kB / 0.8522 GB, free: 198.6 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.401e-05/1.147, allocations: 11.91 kB / 0.8522 GB, free: 198.5 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004749/1.152, allocations: 3.405 MB / 0.8556 GB, free: 196.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/1.152, allocations: 7.594 kB / 0.8556 GB, free: 196.4 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008834/1.153, allocations: 266.4 kB / 0.8558 GB, free: 196.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003865/1.153, allocations: 146.5 kB / 0.856 GB, free: 196.2 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.114e-05/1.153, allocations: 47.97 kB / 0.856 GB, free: 196.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002056/1.155, allocations: 2.437 MB / 0.8584 GB, free: 193.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/1.155, allocations: 0 / 0.8584 GB, free: 193.6 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003538/1.159, allocations: 2.597 MB / 0.8609 GB, free: 190.9 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002384/1.159, allocations: 192.2 kB / 0.8611 GB, free: 190.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001337/1.159, allocations: 32 kB / 0.8611 GB, free: 190.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005591/1.16, allocations: 53.86 kB / 0.8612 GB, free: 190.6 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002198/1.16, allocations: 113.9 kB / 0.8613 GB, free: 190.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.781e-05/1.16, allocations: 55.97 kB / 0.8613 GB, free: 190.5 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005523/1.16, allocations: 0.5131 MB / 0.8618 GB, free: 190 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7e-08/1.16, allocations: 0 / 0.8618 GB, free: 190 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001352/1.162, allocations: 0.5215 MB / 0.8624 GB, free: 189.4 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (flowResistance1.rear.m_flow,flowResistance2.rear.m_flow) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (141): * Single equations (assignments): 138 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(3,11,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004471/1.166, allocations: 3.624 MB / 0.8659 GB, free: 185.9 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002512/1.169, allocations: 1.554 MB / 0.8674 GB, free: 184.3 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/1.169, allocations: 3.938 kB / 0.8674 GB, free: 184.3 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001306/1.17, allocations: 0.9241 MB / 0.8683 GB, free: 183.4 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001693/1.172, allocations: 387.8 kB / 0.8687 GB, free: 183 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01329/1.185, allocations: 10.16 MB / 0.8786 GB, free: 172.7 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005318/1.186, allocations: 1.198 MB / 0.8798 GB, free: 171.4 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001009/1.187, allocations: 337.9 kB / 0.8801 GB, free: 171.1 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006651/1.187, allocations: 0.5774 MB / 0.8807 GB, free: 170.6 MB / 0.6544 GB Notification: Performance of SimCode: time 8.62e-07/1.187, allocations: 0 / 0.8807 GB, free: 170.6 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09025/1.278, allocations: 38.68 MB / 0.9184 GB, free: 132.2 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.15/14.43, allocations: 10.64 kB / 0.9185 GB, free: 132.2 MB / 0.6544 GB " [Timeout remaining time 645] (rm -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Undirected_FlowControl_Tests_TanValve_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Undirected_FlowControl_Tests_TanValve.fmu > ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 18.0425649730023] Failed to read output from testmodel.py, exit status != 0: 14.601037353975698 14.617349704 13.894843849999999 Calling exit ...