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.011/0.011, allocations: 1.774 MB / 18.82 MB, free: 4.375 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.9206/0.9206, allocations: 130.6 MB / 152.5 MB, free: 10.2 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.001363/0.001363, allocations: 102.5 kB / 183.8 MB, free: 3.312 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.001582/0.001582, allocations: 208.9 kB / 215.1 MB, free: 6.961 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.667/1.667, allocations: 230.5 MB / 476.9 MB, free: 5.758 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.1233/0.1233, allocations: 25.54 MB / 0.5731 GB, free: 10.39 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.00524/0.00524, allocations: 135.8 kB / 0.7631 GB, free: 7.805 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5654/0.5707, allocations: 89.04 MB / 0.85 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestLiquid): time 0.003542/0.5742, allocations: 1.827 MB / 0.8518 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003913/0.5781, allocations: 2.462 MB / 0.8542 GB, free: 15.31 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.5782, allocations: 1.625 kB / 0.8542 GB, free: 15.31 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008884/0.5791, allocations: 177.6 kB / 0.8544 GB, free: 15.19 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002512/0.5794, allocations: 85.42 kB / 0.8545 GB, free: 15.12 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.5804, allocations: 388.8 kB / 0.8549 GB, free: 14.79 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000304/0.5807, allocations: 167.2 kB / 0.855 GB, free: 14.63 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.363e-05/0.5808, allocations: 13.55 kB / 0.855 GB, free: 14.62 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.644e-05/0.5809, allocations: 55.78 kB / 0.8551 GB, free: 14.56 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002161/0.5811, allocations: 91.59 kB / 0.8552 GB, free: 14.47 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.5811, allocations: 7.984 kB / 0.8552 GB, free: 14.46 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001308/0.5824, allocations: 0.7446 MB / 0.8559 GB, free: 13.72 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.658e-05/0.5825, allocations: 31.84 kB / 0.8559 GB, free: 13.69 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.558e-05/0.5825, allocations: 51.69 kB / 0.856 GB, free: 13.64 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009869/0.5835, allocations: 0.5918 MB / 0.8566 GB, free: 13.05 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.5835, allocations: 0 / 0.8566 GB, free: 13.05 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.034e-06/0.5835, allocations: 0 / 0.8566 GB, free: 13.05 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.553e-06/0.5835, allocations: 0 / 0.8566 GB, free: 13.05 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.0007993/0.5843, allocations: 0.5288 MB / 0.8571 GB, free: 12.47 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.5844, allocations: 8.625 kB / 0.8571 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.047e-05/0.5844, allocations: 8.125 kB / 0.8571 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.731e-05/0.5845, allocations: 50.73 kB / 0.8571 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.712e-05/0.5845, allocations: 12.84 kB / 0.8572 GB, free: 12.38 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008707/0.5854, allocations: 417.3 kB / 0.8575 GB, free: 11.94 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.5854, allocations: 4.375 kB / 0.8576 GB, free: 11.93 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.5854, allocations: 12.12 kB / 0.8576 GB, free: 11.92 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005073/0.5859, allocations: 169.3 kB / 0.8577 GB, free: 11.72 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.5859, allocations: 7.984 kB / 0.8577 GB, free: 11.71 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.586, allocations: 4 kB / 0.8577 GB, free: 11.71 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.586, allocations: 4 kB / 0.8577 GB, free: 11.71 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003217/0.5863, allocations: 75.83 kB / 0.8578 GB, free: 11.63 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009598/0.5872, allocations: 1.068 MB / 0.8589 GB, free: 10.47 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000346/0.5876, allocations: 94.44 kB / 0.8589 GB, free: 10.37 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.389e-05/0.5876, allocations: 24.8 kB / 0.859 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.693e-05/0.5877, allocations: 20.02 kB / 0.859 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.5877, allocations: 34.55 kB / 0.859 GB, free: 10.28 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.593e-06/0.5877, allocations: 0 / 0.859 GB, free: 10.28 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0007168/0.5885, allocations: 165.5 kB / 0.8592 GB, free: 10.11 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.5885, allocations: 55.41 kB / 0.8592 GB, free: 10.05 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.5887, allocations: 187.4 kB / 0.8594 GB, free: 9.852 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.5887, allocations: 25.7 kB / 0.8594 GB, free: 9.82 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.007e-05/0.5888, allocations: 127.9 kB / 0.8596 GB, free: 9.691 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.561e-05/0.5889, allocations: 39.62 kB / 0.8596 GB, free: 9.652 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.865e-05/0.5889, allocations: 45.66 kB / 0.8596 GB, free: 9.602 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.5891, allocations: 322.8 kB / 0.8599 GB, free: 9.277 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.157e-05/0.5892, allocations: 27.98 kB / 0.86 GB, free: 9.25 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.5893, allocations: 92.56 kB / 0.8601 GB, free: 9.129 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/0.5894, allocations: 132.5 kB / 0.8602 GB, free: 8.969 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.5895, allocations: 0 / 0.8602 GB, free: 8.969 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002921/0.5897, allocations: 173.5 kB / 0.8604 GB, free: 8.793 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.5898, allocations: 8 kB / 0.8604 GB, free: 8.785 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001594/0.5899, allocations: 75.91 kB / 0.8604 GB, free: 8.711 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.5899, allocations: 4 kB / 0.8604 GB, free: 8.707 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.5901, allocations: 39.92 kB / 0.8605 GB, free: 8.668 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.5901, allocations: 4 kB / 0.8605 GB, free: 8.664 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.208e-05/0.5902, allocations: 19.84 kB / 0.8605 GB, free: 8.645 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.512e-05/0.5902, allocations: 12.27 kB / 0.8605 GB, free: 8.633 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.0001097/0.5903, allocations: 137.7 kB / 0.8606 GB, free: 8.488 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.946e-05/0.5904, allocations: 15.84 kB / 0.8607 GB, free: 8.473 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004072/0.5908, allocations: 190.8 kB / 0.8608 GB, free: 8.281 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.5908, allocations: 7.984 kB / 0.8608 GB, free: 8.273 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.5908, allocations: 0 / 0.8608 GB, free: 8.273 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.5908, allocations: 3.984 kB / 0.8608 GB, free: 8.27 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002653/0.591, allocations: 217.5 kB / 0.8611 GB, free: 8.008 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000161/0.5912, allocations: 111.7 kB / 0.8612 GB, free: 7.895 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.682e-05/0.5913, allocations: 19.98 kB / 0.8612 GB, free: 7.875 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.5913, allocations: 4 kB / 0.8612 GB, free: 7.871 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.5913, allocations: 4 kB / 0.8612 GB, free: 7.867 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.5913, allocations: 0 / 0.8612 GB, free: 7.867 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5913, allocations: 3.938 kB / 0.8612 GB, free: 7.863 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002347/0.5915, allocations: 215.4 kB / 0.8614 GB, free: 7.637 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.693e-05/0.5916, allocations: 108.9 kB / 0.8615 GB, free: 7.512 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/0.5916, allocations: 0 / 0.8615 GB, free: 7.512 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.378e-05/0.5917, allocations: 4.094 kB / 0.8615 GB, free: 7.508 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.615e-05/0.5917, allocations: 15.92 kB / 0.8615 GB, free: 7.492 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.5917, allocations: 4 kB / 0.8615 GB, free: 7.488 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001247/0.5919, allocations: 139.2 kB / 0.8617 GB, free: 7.352 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.5919, allocations: 0 / 0.8617 GB, free: 7.352 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000437/0.5923, allocations: 83.73 kB / 0.8617 GB, free: 7.27 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.001388/0.5937, allocations: 1.021 MB / 0.8627 GB, free: 6.293 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002139/0.5939, allocations: 91.84 kB / 0.8628 GB, free: 6.203 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5939, allocations: 0 / 0.8628 GB, free: 6.203 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.594, allocations: 95.31 kB / 0.8629 GB, free: 6.098 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.5943, allocations: 20.56 kB / 0.8629 GB, free: 6.078 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002211/0.5965, allocations: 1.87 MB / 0.8648 GB, free: 4.07 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003765/0.5969, allocations: 0.7163 MB / 0.8655 GB, free: 3.328 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001505/0.597, allocations: 69.17 kB / 0.8655 GB, free: 3.262 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.5971, allocations: 55.39 kB / 0.8656 GB, free: 3.207 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/0.5971, allocations: 0 / 0.8656 GB, free: 3.207 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02145/0.6186, allocations: 4.44 MB / 0.8699 GB, free: 14.82 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.464/9.082, allocations: 7.547 kB / 0.8699 GB, free: 14.82 MB / 0.5607 GB " [Timeout remaining time 651] (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: 13.709484031016473] Failed to read output from testmodel.py, exit status != 0: 9.488037276023533 9.507940212 8.920518374 Calling exit ...