Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TILMedia_TILMedia.Testers.TestLiquid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.01309/0.01309, allocations: 1.75 MB / 20.6 MB, free: 1.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 1.147/1.147, allocations: 130.7 MB / 154.8 MB, free: 4.289 MB / 126.1 MB " [Timeout remaining time 179] 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.00172/0.00172, allocations: 111 kB / 186.5 MB, free: 2.082 MB / 142.1 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.002289/0.002289, allocations: 204 kB / 218.4 MB, free: 2.246 MB / 174.1 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 2.121/2.121, allocations: 230.6 MB / 480.7 MB, free: 124 kB / 318.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/package.mo): time 0.1568/0.1568, allocations: 25.58 MB / 0.5774 GB, free: 2.07 MB / 430.1 MB " [Timeout remaining time 179] Using package TILMedia with version 1.9.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 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) Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo) Using package SMArtInt with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: "" <> buildModelFMU(TILMedia.Testers.TestLiquid,fileNamePrefix="TILMedia_TILMedia_Testers_TestLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TILMedia.Testers.TestLiquid,fileNamePrefix="TILMedia_TILMedia_Testers_TestLiquid",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: SMArtInt 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: ClaRa 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. Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: TILMedia 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: Performance of FrontEnd - loaded program: time 0.004098/0.004098, allocations: 135.8 kB / 0.7695 GB, free: 7.953 MB / 0.5607 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8347/0.8388, allocations: 89.26 MB / 0.8567 GB, free: 29.36 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestLiquid): time 0.004287/0.8431, allocations: 1.749 MB / 0.8584 GB, free: 28.16 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.004047/0.8471, allocations: 2.276 MB / 0.8606 GB, free: 26.66 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.8472, allocations: 3.344 kB / 0.8606 GB, free: 26.66 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.001047/0.8483, allocations: 175.2 kB / 0.8608 GB, free: 26.58 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0002597/0.8485, allocations: 84.17 kB / 0.8609 GB, free: 26.53 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.8496, allocations: 422.7 kB / 0.8613 GB, free: 26.33 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.000303/0.8499, allocations: 165.1 kB / 0.8614 GB, free: 26.26 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 8.278e-05/0.85, allocations: 6.625 kB / 0.8614 GB, free: 26.25 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.8501, allocations: 71.22 kB / 0.8615 GB, free: 26.22 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002953/0.8504, allocations: 80.5 kB / 0.8616 GB, free: 26.19 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 3.192e-05/0.8504, allocations: 10.12 kB / 0.8616 GB, free: 26.19 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001179/0.8516, allocations: 0.5271 MB / 0.8621 GB, free: 26.01 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 7.121e-05/0.8517, allocations: 22.61 kB / 0.8621 GB, free: 26 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 9.196e-05/0.8518, allocations: 46.05 kB / 0.8622 GB, free: 25.97 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.001213/0.853, allocations: 0.5489 MB / 0.8627 GB, free: 25.8 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 7.453e-06/0.853, allocations: 0 / 0.8627 GB, free: 25.8 MB / 0.5763 GB Notification: Performance of FrontEnd: time 4.638e-06/0.853, allocations: 0 / 0.8627 GB, free: 25.8 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 1.252e-05/0.853, allocations: 0 / 0.8627 GB, free: 25.8 MB / 0.5763 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008547/0.8539, allocations: 458 kB / 0.8632 GB, free: 25.41 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 6.625e-05/0.8539, allocations: 10.44 kB / 0.8632 GB, free: 25.41 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.889e-05/0.854, allocations: 43.73 kB / 0.8632 GB, free: 25.36 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.023e-05/0.854, allocations: 23.72 kB / 0.8632 GB, free: 25.34 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/0.8551, allocations: 357.7 kB / 0.8636 GB, free: 25.11 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/0.8551, allocations: 8 kB / 0.8636 GB, free: 25.11 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/0.8551, allocations: 9.594 kB / 0.8636 GB, free: 25.11 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006513/0.8558, allocations: 177.6 kB / 0.8638 GB, free: 24.97 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.8558, allocations: 5.344 kB / 0.8638 GB, free: 24.97 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.8558, allocations: 2.031 kB / 0.8638 GB, free: 24.97 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.466e-05/0.8558, allocations: 2.969 kB / 0.8638 GB, free: 24.97 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000403/0.8562, allocations: 84.56 kB / 0.8638 GB, free: 24.95 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007951/0.857, allocations: 0.9789 MB / 0.8648 GB, free: 23.98 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003739/0.8574, allocations: 82.38 kB / 0.8649 GB, free: 23.94 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.136e-05/0.8574, allocations: 24.66 kB / 0.8649 GB, free: 23.93 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 9.681e-05/0.8575, allocations: 10.2 kB / 0.8649 GB, free: 23.93 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.8576, allocations: 36.89 kB / 0.8649 GB, free: 23.88 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/0.8576, allocations: 0 / 0.8649 GB, free: 23.88 MB / 0.5763 GB Notification: Performance of matching and sorting (n=11): time 0.0008121/0.8584, allocations: 157 kB / 0.8651 GB, free: 23.82 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.8584, allocations: 53.3 kB / 0.8652 GB, free: 23.76 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002347/0.8587, allocations: 189.9 kB / 0.8653 GB, free: 23.63 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.8587, allocations: 25.7 kB / 0.8654 GB, free: 23.6 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 9.205e-05/0.8588, allocations: 132.1 kB / 0.8655 GB, free: 23.48 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 3.205e-05/0.8588, allocations: 35.75 kB / 0.8655 GB, free: 23.45 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.153e-05/0.8589, allocations: 53.47 kB / 0.8656 GB, free: 23.41 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.859, allocations: 321.8 kB / 0.8659 GB, free: 23.09 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.309e-05/0.859, allocations: 30.97 kB / 0.8659 GB, free: 23.08 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.8592, allocations: 90.94 kB / 0.866 GB, free: 22.99 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001951/0.8594, allocations: 143.1 kB / 0.8661 GB, free: 22.87 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.8594, allocations: 1.406 kB / 0.8661 GB, free: 22.87 MB / 0.5763 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003158/0.8597, allocations: 169 kB / 0.8663 GB, free: 22.78 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.8597, allocations: 7.328 kB / 0.8663 GB, free: 22.78 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001701/0.8599, allocations: 76.53 kB / 0.8664 GB, free: 22.75 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.16e-05/0.8599, allocations: 3.5 kB / 0.8664 GB, free: 22.75 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001966/0.8601, allocations: 38.36 kB / 0.8664 GB, free: 22.75 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/0.8601, allocations: 3.781 kB / 0.8664 GB, free: 22.75 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.658e-05/0.8602, allocations: 18.56 kB / 0.8664 GB, free: 22.73 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.759e-05/0.8602, allocations: 7.875 kB / 0.8664 GB, free: 22.73 MB / 0.5763 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001273/0.8603, allocations: 128.2 kB / 0.8666 GB, free: 22.61 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.672e-05/0.8604, allocations: 18.94 kB / 0.8666 GB, free: 22.6 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005328/0.8609, allocations: 194.8 kB / 0.8668 GB, free: 22.51 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.8609, allocations: 1.125 kB / 0.8668 GB, free: 22.51 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.8609, allocations: 6.016 kB / 0.8668 GB, free: 22.5 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.8609, allocations: 0.6094 kB / 0.8668 GB, free: 22.5 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002827/0.8612, allocations: 187 kB / 0.8669 GB, free: 22.32 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000189/0.8614, allocations: 111.2 kB / 0.8671 GB, free: 22.26 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.834e-05/0.8615, allocations: 24.84 kB / 0.8671 GB, free: 22.25 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.8615, allocations: 1.062 kB / 0.8671 GB, free: 22.25 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.8615, allocations: 2.859 kB / 0.8671 GB, free: 22.25 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.8615, allocations: 0 / 0.8671 GB, free: 22.25 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.8615, allocations: 6.234 kB / 0.8671 GB, free: 22.25 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002772/0.8618, allocations: 213.8 kB / 0.8673 GB, free: 22.09 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 7.242e-05/0.8619, allocations: 37.39 kB / 0.8673 GB, free: 22.06 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.8619, allocations: 8.516 kB / 0.8673 GB, free: 22.05 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.837e-05/0.862, allocations: 1.312 kB / 0.8673 GB, free: 22.05 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.615e-05/0.862, allocations: 12.2 kB / 0.8673 GB, free: 22.05 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.862, allocations: 5.234 kB / 0.8674 GB, free: 22.05 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0001417/0.8621, allocations: 141.5 kB / 0.8675 GB, free: 21.95 MB / 0.5763 GB Notification: Performance of sort global known variables: time 8e-08/0.8621, allocations: 0 / 0.8675 GB, free: 21.95 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0004914/0.8626, allocations: 90.83 kB / 0.8676 GB, free: 21.93 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001584/0.8642, allocations: 1.028 MB / 0.8686 GB, free: 21.11 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0002841/0.8645, allocations: 92.08 kB / 0.8687 GB, free: 21.09 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.8645, allocations: 0 / 0.8687 GB, free: 21.09 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.8646, allocations: 94.92 kB / 0.8688 GB, free: 21.01 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003404/0.865, allocations: 18.08 kB / 0.8688 GB, free: 21 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002721/0.8677, allocations: 1.86 MB / 0.8706 GB, free: 19.45 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001976/0.8679, allocations: 101.3 kB / 0.8707 GB, free: 19.38 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.0002097/0.8681, allocations: 66.39 kB / 0.8708 GB, free: 19.36 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/0.8683, allocations: 56.62 kB / 0.8708 GB, free: 19.33 MB / 0.5763 GB Notification: Performance of SimCode: time 7.82e-07/0.8683, allocations: 1.094 kB / 0.8708 GB, free: 19.33 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04671/0.915, allocations: 4.977 MB / 0.8757 GB, free: 17.84 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.78/14.69, allocations: 12.38 kB / 0.8757 GB, free: 17.83 MB / 0.5763 GB " [Timeout remaining time 645] (rm -f TILMedia_TILMedia.Testers.TestLiquid.pipe ; mkfifo TILMedia_TILMedia.Testers.TestLiquid.pipe ; head -c 1048576 < TILMedia_TILMedia.Testers.TestLiquid.pipe >> ../files/TILMedia_TILMedia.Testers.TestLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_TILMedia_TILMedia_Testers_TestLiquid_fmu --startTime=0 --stopTime=1 --stepSize=0.002 --timeout=50 --tolerance=1e-06 TILMedia_TILMedia_Testers_TestLiquid.fmu > TILMedia_TILMedia.Testers.TestLiquid.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.988358221948147] Failed to read output from testmodel.py, exit status != 0: 15.04657619772479 15.074052824 14.21611786 Calling exit ...