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.01044/0.01044, allocations: 1.758 MB / 20.59 MB, free: 1.273 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 0.8595/0.8595, allocations: 130.8 MB / 154.8 MB, free: 9.188 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.001424/0.001424, allocations: 108.1 kB / 186.6 MB, free: 2.844 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.001853/0.001853, allocations: 210.2 kB / 218.4 MB, free: 5.234 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.504/1.504, allocations: 230.6 MB / 480.7 MB, free: 4.844 MB / 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.1134/0.1134, allocations: 25.54 MB / 0.5774 GB, free: 8.898 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.003713/0.003713, allocations: 131.8 kB / 0.7696 GB, free: 4.734 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.492/0.4957, allocations: 89.26 MB / 0.8568 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestLiquid): time 0.003385/0.4991, allocations: 1.832 MB / 0.8585 GB, free: 396 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00362/0.5027, allocations: 2.494 MB / 0.861 GB, free: 13.88 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.902e-05/0.5028, allocations: 0 / 0.861 GB, free: 13.88 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007148/0.5035, allocations: 175.2 kB / 0.8611 GB, free: 13.71 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001935/0.5037, allocations: 87.58 kB / 0.8612 GB, free: 13.62 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007831/0.5045, allocations: 422.3 kB / 0.8616 GB, free: 13.21 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002477/0.5047, allocations: 167.3 kB / 0.8618 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.993e-05/0.5048, allocations: 5.75 kB / 0.8618 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.866e-05/0.5049, allocations: 63.7 kB / 0.8619 GB, free: 12.97 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002167/0.5051, allocations: 87.61 kB / 0.8619 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.5051, allocations: 4 kB / 0.8619 GB, free: 12.88 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001117/0.5062, allocations: 0.7914 MB / 0.8627 GB, free: 12.09 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.211e-05/0.5063, allocations: 35.83 kB / 0.8628 GB, free: 12.05 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.163e-05/0.5064, allocations: 47.69 kB / 0.8628 GB, free: 12.01 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008483/0.5072, allocations: 0.5957 MB / 0.8634 GB, free: 11.41 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.5072, allocations: 0 / 0.8634 GB, free: 11.41 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5072, allocations: 0 / 0.8634 GB, free: 11.41 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.899e-06/0.5072, allocations: 0 / 0.8634 GB, free: 11.41 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.0006497/0.5079, allocations: 468.4 kB / 0.8638 GB, free: 10.93 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.5079, allocations: 12.03 kB / 0.8638 GB, free: 10.91 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.11e-05/0.5079, allocations: 34.75 kB / 0.8639 GB, free: 10.87 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.753e-05/0.508, allocations: 16.84 kB / 0.8639 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007254/0.5087, allocations: 353.9 kB / 0.8642 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.5087, allocations: 8.375 kB / 0.8642 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.5088, allocations: 12.36 kB / 0.8642 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000443/0.5092, allocations: 171 kB / 0.8644 GB, free: 10.27 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.5092, allocations: 4 kB / 0.8644 GB, free: 10.26 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.5092, allocations: 4 kB / 0.8644 GB, free: 10.26 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.5092, allocations: 4 kB / 0.8644 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000294/0.5095, allocations: 83.81 kB / 0.8645 GB, free: 10.17 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009044/0.5104, allocations: 1.035 MB / 0.8655 GB, free: 9.051 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003207/0.5107, allocations: 90.44 kB / 0.8656 GB, free: 8.953 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.309e-05/0.5108, allocations: 24.86 kB / 0.8656 GB, free: 8.926 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.635e-05/0.5109, allocations: 20.06 kB / 0.8656 GB, free: 8.906 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.5109, allocations: 34.5 kB / 0.8657 GB, free: 8.863 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/0.5109, allocations: 0 / 0.8657 GB, free: 8.863 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0006417/0.5115, allocations: 173.3 kB / 0.8658 GB, free: 8.688 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.5116, allocations: 55.41 kB / 0.8659 GB, free: 8.621 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.5118, allocations: 182.5 kB / 0.8661 GB, free: 8.434 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.5118, allocations: 25.7 kB / 0.8661 GB, free: 8.402 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.528e-05/0.5119, allocations: 131.8 kB / 0.8662 GB, free: 8.27 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.5119, allocations: 35.69 kB / 0.8663 GB, free: 8.234 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.475e-05/0.512, allocations: 45.64 kB / 0.8663 GB, free: 8.184 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.5121, allocations: 318.8 kB / 0.8666 GB, free: 7.863 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.631e-05/0.5122, allocations: 27.98 kB / 0.8666 GB, free: 7.836 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.5123, allocations: 92.56 kB / 0.8667 GB, free: 7.715 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001851/0.5125, allocations: 144.4 kB / 0.8669 GB, free: 7.543 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.5125, allocations: 4 kB / 0.8669 GB, free: 7.539 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002527/0.5127, allocations: 161.5 kB / 0.867 GB, free: 7.375 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.5127, allocations: 12.03 kB / 0.867 GB, free: 7.363 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001329/0.5129, allocations: 67.97 kB / 0.8671 GB, free: 7.297 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.5129, allocations: 4 kB / 0.8671 GB, free: 7.293 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.513, allocations: 43.92 kB / 0.8671 GB, free: 7.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.874e-06/0.513, allocations: 4 kB / 0.8671 GB, free: 7.246 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.488e-05/0.5131, allocations: 19.83 kB / 0.8672 GB, free: 7.227 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.345e-05/0.5131, allocations: 19.88 kB / 0.8672 GB, free: 7.207 MB / 0.545 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.0001159/0.5132, allocations: 126.8 kB / 0.8673 GB, free: 7.074 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.159e-05/0.5133, allocations: 23.84 kB / 0.8673 GB, free: 7.051 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000386/0.5137, allocations: 187.2 kB / 0.8675 GB, free: 6.863 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.5137, allocations: 0 / 0.8675 GB, free: 6.863 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.5137, allocations: 0 / 0.8675 GB, free: 6.863 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.5137, allocations: 3.984 kB / 0.8675 GB, free: 6.859 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002367/0.5139, allocations: 196.6 kB / 0.8677 GB, free: 6.625 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001455/0.5141, allocations: 109.5 kB / 0.8678 GB, free: 6.512 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.351e-05/0.5141, allocations: 23.92 kB / 0.8678 GB, free: 6.488 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.5141, allocations: 0 / 0.8678 GB, free: 6.488 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.5141, allocations: 4 kB / 0.8678 GB, free: 6.484 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.5141, allocations: 0 / 0.8678 GB, free: 6.484 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.5141, allocations: 0 / 0.8678 GB, free: 6.484 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002192/0.5144, allocations: 217.6 kB / 0.868 GB, free: 6.258 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.324e-05/0.5144, allocations: 31.83 kB / 0.8681 GB, free: 6.227 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.5144, allocations: 4.094 kB / 0.8681 GB, free: 6.223 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.509e-05/0.5145, allocations: 3.938 kB / 0.8681 GB, free: 6.219 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.157e-05/0.5145, allocations: 15.92 kB / 0.8681 GB, free: 6.203 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.5145, allocations: 4 kB / 0.8681 GB, free: 6.199 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000115/0.5146, allocations: 139.2 kB / 0.8682 GB, free: 6.062 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.5146, allocations: 4 kB / 0.8682 GB, free: 6.059 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003685/0.515, allocations: 91.67 kB / 0.8683 GB, free: 5.969 MB / 0.545 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.001299/0.5163, allocations: 1.018 MB / 0.8693 GB, free: 4.992 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000191/0.5165, allocations: 91.84 kB / 0.8694 GB, free: 4.902 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5165, allocations: 0 / 0.8694 GB, free: 4.902 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.86e-05/0.5166, allocations: 95.31 kB / 0.8695 GB, free: 4.797 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.5169, allocations: 16 kB / 0.8695 GB, free: 4.781 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002097/0.519, allocations: 1.863 MB / 0.8713 GB, free: 2.781 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003712/0.5193, allocations: 0.7202 MB / 0.872 GB, free: 2.035 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001249/0.5195, allocations: 61.28 kB / 0.8721 GB, free: 1.977 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.5196, allocations: 55.41 kB / 0.8721 GB, free: 1.922 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.5196, allocations: 0 / 0.8721 GB, free: 1.922 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0313/0.5509, allocations: 4.658 MB / 0.8767 GB, free: 13.34 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.39, allocations: 15.5 kB / 0.8767 GB, free: 13.33 MB / 0.5607 GB " [Timeout remaining time 648] (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.816002817125991] Failed to read output from testmodel.py, exit status != 0: 11.738655886845663 11.765968936 11.253637876 Calling exit ...