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.01048/0.01048, allocations: 1.762 MB / 21.38 MB, free: 440 kB / 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 0.8615/0.8615, allocations: 130.7 MB / 155.6 MB, free: 4.402 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.001249/0.001249, allocations: 111.1 kB / 187.3 MB, free: 2.238 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.001642/0.001642, allocations: 200.3 kB / 219.2 MB, free: 2.383 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 1.447/1.447, allocations: 230.6 MB / 481.5 MB, free: 15.75 MB / 334.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.1228/0.1228, allocations: 25.54 MB / 0.5782 GB, free: 2.387 MB / 430.1 MB " [Timeout remaining time 180] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(TILMedia.Testers.TestLiquid,fileNamePrefix="TILMedia_TILMedia_Testers_TestLiquid",fmuType="cs",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.003576/0.003576, allocations: 130.1 kB / 0.7703 GB, free: 5.098 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1585, allocations: 89.26 MB / 0.8575 GB, free: 8.199 MB / 0.545 GB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestLiquid): time 0.003411/0.1619, allocations: 1.831 MB / 0.8593 GB, free: 6.352 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003572/0.1655, allocations: 2.488 MB / 0.8617 GB, free: 3.852 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.1656, allocations: 4 kB / 0.8617 GB, free: 3.848 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000691/0.1663, allocations: 168 kB / 0.8619 GB, free: 3.684 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002217/0.1665, allocations: 91.58 kB / 0.862 GB, free: 3.594 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008897/0.1674, allocations: 422.3 kB / 0.8624 GB, free: 3.18 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002571/0.1677, allocations: 159.3 kB / 0.8625 GB, free: 3.023 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.101e-05/0.1677, allocations: 14.02 kB / 0.8626 GB, free: 3.008 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.801e-05/0.1678, allocations: 67.72 kB / 0.8626 GB, free: 2.941 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002181/0.168, allocations: 91.58 kB / 0.8627 GB, free: 2.852 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.168, allocations: 8 kB / 0.8627 GB, free: 2.844 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001157/0.1692, allocations: 0.7835 MB / 0.8635 GB, free: 2.059 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.184e-05/0.1692, allocations: 27.86 kB / 0.8635 GB, free: 2.031 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.788e-05/0.1693, allocations: 55.61 kB / 0.8636 GB, free: 1.977 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001079/0.1704, allocations: 0.5959 MB / 0.8641 GB, free: 1.379 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1704, allocations: 3.938 kB / 0.8641 GB, free: 1.375 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1704, allocations: 0 / 0.8641 GB, free: 1.375 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.1704, allocations: 0 / 0.8641 GB, free: 1.375 MB / 0.545 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.0006677/0.1711, allocations: 464.5 kB / 0.8646 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.1711, allocations: 8.031 kB / 0.8646 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.767e-05/0.1711, allocations: 4.188 kB / 0.8646 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.054e-05/0.1712, allocations: 46.72 kB / 0.8646 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.136e-05/0.1712, allocations: 12.84 kB / 0.8647 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007272/0.1719, allocations: 357.8 kB / 0.865 GB, free: 448 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.172, allocations: 8.375 kB / 0.865 GB, free: 440 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.172, allocations: 12.12 kB / 0.865 GB, free: 428 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004818/0.1725, allocations: 175.5 kB / 0.8652 GB, free: 220 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.1725, allocations: 0 / 0.8652 GB, free: 220 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/0.1725, allocations: 8 kB / 0.8652 GB, free: 212 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.1725, allocations: 0 / 0.8652 GB, free: 212 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000354/0.1728, allocations: 91.81 kB / 0.8653 GB, free: 120 kB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001011/0.1739, allocations: 1.024 MB / 0.8663 GB, free: 15.01 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003594/0.1742, allocations: 102.4 kB / 0.8664 GB, free: 14.9 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.089e-05/0.1743, allocations: 20.86 kB / 0.8664 GB, free: 14.88 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 7.338e-05/0.1743, allocations: 23.95 kB / 0.8664 GB, free: 14.85 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.1744, allocations: 34.56 kB / 0.8665 GB, free: 14.81 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=11): time 1.423e-06/0.1744, allocations: 0 / 0.8665 GB, free: 14.81 MB / 0.5607 GB Notification: Performance of matching and sorting (n=11): time 0.0007207/0.1751, allocations: 161.5 kB / 0.8666 GB, free: 14.64 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.586e-05/0.1752, allocations: 59.34 kB / 0.8667 GB, free: 14.57 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002133/0.1754, allocations: 182.9 kB / 0.8668 GB, free: 14.39 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.1754, allocations: 25.7 kB / 0.8669 GB, free: 14.36 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 9.92e-05/0.1755, allocations: 128 kB / 0.867 GB, free: 14.23 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 3.794e-05/0.1755, allocations: 43.61 kB / 0.867 GB, free: 14.18 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.151e-05/0.1756, allocations: 45.66 kB / 0.8671 GB, free: 14.13 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.1758, allocations: 318.8 kB / 0.8674 GB, free: 13.81 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.489e-05/0.1758, allocations: 31.98 kB / 0.8674 GB, free: 13.78 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.1759, allocations: 88.56 kB / 0.8675 GB, free: 13.66 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002146/0.1762, allocations: 140.7 kB / 0.8676 GB, free: 13.5 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.1762, allocations: 7.938 kB / 0.8676 GB, free: 13.49 MB / 0.5607 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000272/0.1764, allocations: 165.3 kB / 0.8678 GB, free: 13.32 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.1764, allocations: 4 kB / 0.8678 GB, free: 13.32 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001404/0.1766, allocations: 63.97 kB / 0.8679 GB, free: 13.25 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.1766, allocations: 8.219 kB / 0.8679 GB, free: 13.25 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.1767, allocations: 43.92 kB / 0.8679 GB, free: 13.2 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.627e-06/0.1768, allocations: 4.156 kB / 0.8679 GB, free: 13.2 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.013e-05/0.1768, allocations: 15.84 kB / 0.8679 GB, free: 13.18 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.859e-05/0.1769, allocations: 19.97 kB / 0.8679 GB, free: 13.16 MB / 0.5607 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.0001152/0.177, allocations: 126.8 kB / 0.8681 GB, free: 13.03 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.672e-05/0.177, allocations: 19.84 kB / 0.8681 GB, free: 13.01 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004129/0.1774, allocations: 193.7 kB / 0.8683 GB, free: 12.82 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/0.1774, allocations: 0 / 0.8683 GB, free: 12.82 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1774, allocations: 0 / 0.8683 GB, free: 12.82 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.1774, allocations: 7.984 kB / 0.8683 GB, free: 12.81 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002542/0.1777, allocations: 192.6 kB / 0.8685 GB, free: 12.58 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001525/0.1779, allocations: 109.5 kB / 0.8686 GB, free: 12.47 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.87e-05/0.1779, allocations: 23.92 kB / 0.8686 GB, free: 12.45 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1779, allocations: 0 / 0.8686 GB, free: 12.45 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.1779, allocations: 4 kB / 0.8686 GB, free: 12.44 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1779, allocations: 0 / 0.8686 GB, free: 12.44 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1779, allocations: 0 / 0.8686 GB, free: 12.44 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002263/0.1782, allocations: 211.4 kB / 0.8688 GB, free: 12.22 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 6.065e-05/0.1782, allocations: 39.75 kB / 0.8688 GB, free: 12.18 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/0.1782, allocations: 4.094 kB / 0.8688 GB, free: 12.18 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.818e-05/0.1783, allocations: 3.938 kB / 0.8688 GB, free: 12.17 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.541e-05/0.1783, allocations: 15.97 kB / 0.8688 GB, free: 12.16 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.1783, allocations: 4 kB / 0.8689 GB, free: 12.15 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.0001224/0.1785, allocations: 139.2 kB / 0.869 GB, free: 12.02 MB / 0.5607 GB Notification: Performance of sort global known variables: time 8e-08/0.1785, allocations: 0 / 0.869 GB, free: 12.02 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.0003918/0.1789, allocations: 87.73 kB / 0.8691 GB, free: 11.93 MB / 0.5607 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.001281/0.1801, allocations: 1.019 MB / 0.8701 GB, free: 10.95 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.0002013/0.1803, allocations: 88.28 kB / 0.8701 GB, free: 10.87 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1803, allocations: 4.062 kB / 0.8702 GB, free: 10.86 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.1804, allocations: 95.31 kB / 0.8702 GB, free: 10.76 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.1807, allocations: 16 kB / 0.8703 GB, free: 10.74 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002198/0.1829, allocations: 1.867 MB / 0.8721 GB, free: 8.738 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.1832, allocations: 0.7163 MB / 0.8728 GB, free: 7.996 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.0001275/0.1834, allocations: 57.3 kB / 0.8728 GB, free: 7.941 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.1835, allocations: 63.39 kB / 0.8729 GB, free: 7.879 MB / 0.5607 GB Notification: Performance of SimCode: time 4.81e-07/0.1835, allocations: 0 / 0.8729 GB, free: 7.879 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02469/0.2082, allocations: 4.685 MB / 0.8775 GB, free: 3.285 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/10.94, allocations: 5.531 kB / 0.8775 GB, free: 3.281 MB / 0.5607 GB " [Timeout remaining time 649] (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.0004 --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: 15.354657970950939] Failed to read output from testmodel.py, exit status != 0: 11.34766211907845 11.374019059 11.199102143 Calling exit ...