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.009986/0.009986, allocations: 1.76 MB / 20.59 MB, free: 1.285 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.8446/0.8446, allocations: 130.7 MB / 154.8 MB, free: 4.723 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.001233/0.001233, allocations: 109 kB / 186.6 MB, free: 2.645 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.001565/0.001565, allocations: 209 kB / 218.4 MB, free: 2.785 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.478/1.478, allocations: 230.6 MB / 480.7 MB, free: 15.79 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.1111/0.1111, allocations: 25.54 MB / 0.5774 GB, free: 2.375 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TILMedia.Testers.TestGas,fileNamePrefix="TILMedia_TILMedia_Testers_TestGas",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.004286/0.004286, allocations: 139.8 kB / 0.7696 GB, free: 8.242 MB / 0.5607 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4836/0.4879, allocations: 89.26 MB / 0.8568 GB, free: 29.75 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestGas): time 0.00353/0.4914, allocations: 2.864 MB / 0.8596 GB, free: 27.71 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.01198/0.5034, allocations: 11.71 MB / 0.871 GB, free: 19.4 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002085/0.5036, allocations: 6.25 kB / 0.871 GB, free: 19.4 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.0008897/0.5045, allocations: 235.8 kB / 0.8712 GB, free: 19.29 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0004669/0.505, allocations: 270.4 kB / 0.8715 GB, free: 19.13 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.006116/0.5111, allocations: 2.459 MB / 0.8739 GB, free: 17.9 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.001283/0.5124, allocations: 0.9996 MB / 0.8749 GB, free: 17.47 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 9.028e-05/0.5124, allocations: 26.42 kB / 0.8749 GB, free: 17.45 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000652/0.5131, allocations: 354 kB / 0.8752 GB, free: 17.32 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001653/0.5148, allocations: 1.277 MB / 0.8765 GB, free: 16.88 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.0003843/0.5151, allocations: 278.7 kB / 0.8767 GB, free: 16.88 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006766/0.5219, allocations: 4.086 MB / 0.8807 GB, free: 14.95 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.0007402/0.5226, allocations: 0.8663 MB / 0.8816 GB, free: 14.32 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.001546/0.5242, allocations: 0.924 MB / 0.8825 GB, free: 13.61 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.009315/0.5335, allocations: 5.046 MB / 0.8874 GB, free: 10.67 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.5335, allocations: 3.938 kB / 0.8874 GB, free: 10.66 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5335, allocations: 0 / 0.8874 GB, free: 10.66 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 8.747e-05/0.5336, allocations: 0 / 0.8874 GB, free: 10.66 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.009613/0.5432, allocations: 3.241 MB / 0.8906 GB, free: 8.723 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 5.876e-05/0.5433, allocations: 9.062 kB / 0.8906 GB, free: 8.723 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000274/0.5435, allocations: 137.1 kB / 0.8907 GB, free: 8.613 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005611/0.5441, allocations: 120.8 kB / 0.8908 GB, free: 8.543 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003539/0.5476, allocations: 2.18 MB / 0.8929 GB, free: 7.133 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.467e-05/0.5477, allocations: 41.25 kB / 0.893 GB, free: 7.113 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001761/0.5479, allocations: 55.95 kB / 0.893 GB, free: 7.094 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008164/0.556, allocations: 4.27 MB / 0.8972 GB, free: 5.035 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.556, allocations: 5.469 kB / 0.8972 GB, free: 5.031 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001374/0.5562, allocations: 26.02 kB / 0.8972 GB, free: 5.012 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001295/0.5563, allocations: 134.7 kB / 0.8974 GB, free: 4.977 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01704/0.5733, allocations: 12.62 MB / 0.9097 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01905/0.5924, allocations: 8.635 MB / 0.9181 GB, free: 2.238 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005409/0.5978, allocations: 1.251 MB / 0.9193 GB, free: 0.9805 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006402/0.5984, allocations: 388.6 kB / 0.9197 GB, free: 0.5977 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003686/0.5988, allocations: 164.9 kB / 0.9199 GB, free: 448 kB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.216e-05/0.5989, allocations: 43.88 kB / 0.9199 GB, free: 392 kB / 0.5919 GB Notification: Performance of pre-optimization done (n=142): time 3.016e-06/0.5989, allocations: 4 kB / 0.9199 GB, free: 388 kB / 0.5919 GB Notification: Performance of matching and sorting (n=142): time 0.01064/0.6095, allocations: 2.387 MB / 0.9223 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.754e-05/0.6096, allocations: 68.72 kB / 0.9223 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00245/0.612, allocations: 1.643 MB / 0.9239 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.889e-05/0.6121, allocations: 45.7 kB / 0.924 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004691/0.6126, allocations: 0.5666 MB / 0.9245 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004515/0.613, allocations: 0.5036 MB / 0.925 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007278/0.6137, allocations: 451.3 kB / 0.9254 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001935/0.6139, allocations: 361.9 kB / 0.9258 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001376/0.6153, allocations: 0.808 MB / 0.9266 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001988/0.6173, allocations: 1.477 MB / 0.928 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002996/0.6203, allocations: 2.116 MB / 0.9301 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-05/0.6203, allocations: 7.938 kB / 0.9301 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.004361/0.6247, allocations: 2.551 MB / 0.9326 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.981e-05/0.6247, allocations: 13.72 kB / 0.9326 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.865e-05/0.6247, allocations: 24 kB / 0.9326 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.483e-05/0.6248, allocations: 35.94 kB / 0.9327 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001757/0.6265, allocations: 0.5151 MB / 0.9332 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.175e-05/0.6266, allocations: 43.86 kB / 0.9332 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001806/0.6284, allocations: 226.5 kB / 0.9334 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003365/0.6287, allocations: 252 kB / 0.9337 GB, free: 1.633 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.0006494/0.6294, allocations: 440.9 kB / 0.9341 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002972/0.6297, allocations: 139.1 kB / 0.9342 GB, free: 1.055 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004482/0.6342, allocations: 2.18 MB / 0.9363 GB, free: 14.86 MB / 0.6232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/0.6342, allocations: 16 kB / 0.9363 GB, free: 14.85 MB / 0.6232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.6342, allocations: 0 / 0.9363 GB, free: 14.85 MB / 0.6232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-05/0.6342, allocations: 7.969 kB / 0.9364 GB, free: 14.84 MB / 0.6232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001417/0.6356, allocations: 1.032 MB / 0.9374 GB, free: 13.77 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.6356, allocations: 0 / 0.9374 GB, free: 13.77 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008162/0.6364, allocations: 327.6 kB / 0.9377 GB, free: 13.45 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.208e-06/0.6364, allocations: 4 kB / 0.9377 GB, free: 13.44 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001048/0.6365, allocations: 79.95 kB / 0.9378 GB, free: 13.36 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.646e-06/0.6365, allocations: 8 kB / 0.9378 GB, free: 13.36 MB / 0.6232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.6365, allocations: 4 kB / 0.9378 GB, free: 13.35 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002151/0.6387, allocations: 1.307 MB / 0.939 GB, free: 12.02 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009098/0.6396, allocations: 386.6 kB / 0.9394 GB, free: 11.64 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002141/0.6398, allocations: 23.98 kB / 0.9394 GB, free: 11.62 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006209/0.6404, allocations: 43.92 kB / 0.9395 GB, free: 11.58 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001988/0.6406, allocations: 133.1 kB / 0.9396 GB, free: 11.45 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002381/0.6409, allocations: 196 kB / 0.9398 GB, free: 11.25 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.001574/0.6425, allocations: 1.157 MB / 0.9409 GB, free: 10.09 MB / 0.6232 GB Notification: Performance of sort global known variables: time 1e-07/0.6425, allocations: 0 / 0.9409 GB, free: 10.09 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.001758/0.6442, allocations: 0.5616 MB / 0.9415 GB, free: 9.523 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.005279/0.6495, allocations: 2.643 MB / 0.9441 GB, free: 7.047 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.002728/0.6522, allocations: 1.589 MB / 0.9456 GB, free: 5.461 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.6522, allocations: 4 kB / 0.9456 GB, free: 5.457 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.000851/0.6531, allocations: 0.5343 MB / 0.9461 GB, free: 4.926 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.6542, allocations: 255.4 kB / 0.9464 GB, free: 4.676 MB / 0.6232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01912/0.6733, allocations: 13.38 MB / 0.9594 GB, free: 6.547 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008805/0.6742, allocations: 1.149 MB / 0.9606 GB, free: 5.367 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 0.003342/0.6775, allocations: 1.294 MB / 0.9618 GB, free: 4.066 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001274/0.6788, allocations: 0.6083 MB / 0.9624 GB, free: 3.457 MB / 0.6388 GB Notification: Performance of SimCode: time 1.122e-06/0.6788, allocations: 0 / 0.9624 GB, free: 3.457 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07574/0.7546, allocations: 36.57 MB / 0.9981 GB, free: 15.05 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.63/14.39, allocations: 3.875 kB / 0.9981 GB, free: 15.05 MB / 0.6857 GB " [Timeout remaining time 645] (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: 19.036801807116717] Failed to read output from testmodel.py, exit status != 0: 14.758606510004029 14.779362917 14.241696316 Calling exit ...