Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TILMedia_TILMedia.Testers.TestGas.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.01026/0.01026, allocations: 1.748 MB / 21.38 MB, free: 480 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.9049/0.9049, allocations: 130.7 MB / 155.6 MB, free: 4.32 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.001329/0.001329, allocations: 116.1 kB / 187.3 MB, free: 2.09 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.001671/0.001671, allocations: 210.7 kB / 219.2 MB, free: 2.258 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.577/1.577, allocations: 230.6 MB / 481.5 MB, free: 104 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.1158/0.1158, allocations: 25.58 MB / 0.5782 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.TestGas,fileNamePrefix="TILMedia_TILMedia_Testers_TestGas",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(TILMedia.Testers.TestGas,fileNamePrefix="TILMedia_TILMedia_Testers_TestGas",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.003809/0.003809, allocations: 127.8 kB / 0.7703 GB, free: 7.969 MB / 0.5607 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5093/0.5131, allocations: 89.25 MB / 0.8574 GB, free: 29.59 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestGas): time 0.003466/0.5165, allocations: 2.626 MB / 0.86 GB, free: 27.8 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.01292/0.5294, allocations: 10.53 MB / 0.8703 GB, free: 20.75 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004184/0.5299, allocations: 10.38 kB / 0.8703 GB, free: 20.74 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.0009962/0.5309, allocations: 241.2 kB / 0.8705 GB, free: 20.62 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0005643/0.5314, allocations: 260.1 kB / 0.8708 GB, free: 20.48 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.006729/0.5382, allocations: 2.464 MB / 0.8732 GB, free: 19.25 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.001301/0.5395, allocations: 1.006 MB / 0.8742 GB, free: 18.81 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 9.297e-05/0.5395, allocations: 26.72 kB / 0.8742 GB, free: 18.79 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004035/0.54, allocations: 360.2 kB / 0.8745 GB, free: 18.65 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001461/0.5414, allocations: 1.273 MB / 0.8758 GB, free: 18.22 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.0005005/0.5419, allocations: 274.3 kB / 0.876 GB, free: 18.22 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006317/0.5482, allocations: 2.839 MB / 0.8788 GB, free: 16.96 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.001087/0.5493, allocations: 0.8617 MB / 0.8796 GB, free: 16.33 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.0009822/0.5503, allocations: 0.8193 MB / 0.8804 GB, free: 15.73 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.01081/0.5611, allocations: 4.801 MB / 0.8851 GB, free: 12.98 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.5611, allocations: 1.375 kB / 0.8851 GB, free: 12.98 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.615e-06/0.5611, allocations: 0 / 0.8851 GB, free: 12.98 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 7.489e-05/0.5612, allocations: 0 / 0.8851 GB, free: 12.98 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.01019/0.5714, allocations: 3.234 MB / 0.8883 GB, free: 11.04 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 6.217e-05/0.5714, allocations: 8.5 kB / 0.8883 GB, free: 11.04 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.724e-05/0.5715, allocations: 19.16 kB / 0.8883 GB, free: 11.04 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002744/0.5718, allocations: 144.9 kB / 0.8885 GB, free: 10.93 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007269/0.5725, allocations: 125.2 kB / 0.8886 GB, free: 10.85 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004702/0.5772, allocations: 2.176 MB / 0.8907 GB, free: 9.449 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.837e-05/0.5773, allocations: 44.75 kB / 0.8907 GB, free: 9.43 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002745/0.5775, allocations: 60.27 kB / 0.8908 GB, free: 9.406 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.011/0.5885, allocations: 4.267 MB / 0.895 GB, free: 7.355 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.788e-05/0.5886, allocations: 0 / 0.895 GB, free: 7.355 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004492/0.589, allocations: 25.86 kB / 0.895 GB, free: 7.336 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001773/0.5892, allocations: 142.5 kB / 0.8951 GB, free: 7.293 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01813/0.6073, allocations: 12.62 MB / 0.9075 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02202/0.6293, allocations: 8.149 MB / 0.9154 GB, free: 5.379 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006528/0.6359, allocations: 1.253 MB / 0.9166 GB, free: 4.117 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009659/0.6368, allocations: 392.5 kB / 0.917 GB, free: 3.73 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005169/0.6374, allocations: 141 kB / 0.9171 GB, free: 3.59 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.185e-05/0.6374, allocations: 47.88 kB / 0.9172 GB, free: 3.535 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=142): time 3.416e-06/0.6374, allocations: 0 / 0.9172 GB, free: 3.535 MB / 0.5919 GB Notification: Performance of matching and sorting (n=142): time 0.01321/0.6506, allocations: 2.391 MB / 0.9195 GB, free: 1.141 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.883e-05/0.6507, allocations: 64.72 kB / 0.9196 GB, free: 1.062 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00412/0.6548, allocations: 1.647 MB / 0.9212 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002042/0.655, allocations: 49.7 kB / 0.9212 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005924/0.6556, allocations: 0.5627 MB / 0.9218 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007195/0.6563, allocations: 0.5036 MB / 0.9223 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001456/0.6578, allocations: 451.3 kB / 0.9227 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000228/0.658, allocations: 357.9 kB / 0.9231 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001623/0.6597, allocations: 0.808 MB / 0.9238 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002384/0.662, allocations: 1.473 MB / 0.9253 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003448/0.6655, allocations: 2.12 MB / 0.9274 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.74e-05/0.6655, allocations: 4 kB / 0.9274 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005202/0.6707, allocations: 2.554 MB / 0.9299 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.857e-05/0.6708, allocations: 16 kB / 0.9299 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.791e-05/0.6708, allocations: 20 kB / 0.9299 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.899e-05/0.6708, allocations: 32 kB / 0.9299 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001932/0.6728, allocations: 0.5152 MB / 0.9304 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.266e-05/0.6728, allocations: 51.73 kB / 0.9305 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002225/0.6751, allocations: 226.5 kB / 0.9307 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004497/0.6755, allocations: 252 kB / 0.9309 GB, free: 4.785 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * 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 (239): * Single equations (assignments): 239 * 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.0008882/0.6764, allocations: 448.8 kB / 0.9314 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000471/0.6769, allocations: 131.2 kB / 0.9315 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004731/0.6816, allocations: 2.169 MB / 0.9336 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/0.6816, allocations: 12 kB / 0.9336 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.6816, allocations: 3.984 kB / 0.9336 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.6816, allocations: 3.984 kB / 0.9336 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001663/0.6833, allocations: 0.8455 MB / 0.9344 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.6833, allocations: 0 / 0.9344 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009024/0.6842, allocations: 331.6 kB / 0.9348 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.003e-05/0.6842, allocations: 4 kB / 0.9348 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001179/0.6843, allocations: 83.95 kB / 0.9348 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.007e-05/0.6844, allocations: 4 kB / 0.9348 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.6844, allocations: 0 / 0.9348 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002441/0.6868, allocations: 1.303 MB / 0.9361 GB, free: 15.37 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008826/0.6877, allocations: 386.6 kB / 0.9365 GB, free: 14.99 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002597/0.6879, allocations: 28 kB / 0.9365 GB, free: 14.96 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007055/0.6886, allocations: 35.97 kB / 0.9365 GB, free: 14.93 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002148/0.6889, allocations: 133.1 kB / 0.9367 GB, free: 14.8 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002623/0.6891, allocations: 203.9 kB / 0.9369 GB, free: 14.6 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.00172/0.6908, allocations: 1.161 MB / 0.938 GB, free: 13.43 MB / 0.6232 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6908, allocations: 0 / 0.938 GB, free: 13.43 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.002063/0.6929, allocations: 0.5655 MB / 0.9386 GB, free: 12.86 MB / 0.6232 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 (142): * Single equations (assignments): 142 * 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 Backend phase and start with SimCode phase: time 0.005471/0.6984, allocations: 2.688 MB / 0.9412 GB, free: 10.37 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.003076/0.7015, allocations: 1.589 MB / 0.9427 GB, free: 8.777 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.7015, allocations: 0 / 0.9427 GB, free: 8.777 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.0008773/0.7023, allocations: 0.5384 MB / 0.9433 GB, free: 8.242 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001498/0.7038, allocations: 251.2 kB / 0.9435 GB, free: 7.992 MB / 0.6232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02059/0.7244, allocations: 13.38 MB / 0.9566 GB, free: 9.863 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006393/0.7251, allocations: 0.549 MB / 0.9571 GB, free: 9.281 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 0.003567/0.7286, allocations: 1.297 MB / 0.9584 GB, free: 7.98 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001402/0.73, allocations: 0.6122 MB / 0.959 GB, free: 7.367 MB / 0.6388 GB Notification: Performance of SimCode: time 8.21e-07/0.73, allocations: 0 / 0.959 GB, free: 7.367 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07087/0.8009, allocations: 36.79 MB / 0.9949 GB, free: 2.844 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.75/15.55, allocations: 7.5 kB / 0.9949 GB, free: 2.84 MB / 0.67 GB " [Timeout remaining time 644] (rm -f TILMedia_TILMedia.Testers.TestGas.pipe ; mkfifo TILMedia_TILMedia.Testers.TestGas.pipe ; head -c 1048576 < TILMedia_TILMedia.Testers.TestGas.pipe >> ../files/TILMedia_TILMedia.Testers.TestGas.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_TILMedia_TILMedia_Testers_TestGas_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 TILMedia_TILMedia_Testers_TestGas.fmu > TILMedia_TILMedia.Testers.TestGas.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.54543239204213] Failed to read output from testmodel.py, exit status != 0: 15.988198715029284 16.019288232 15.452977678 Calling exit ...