Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TILMedia_TILMedia.Testers.TestGas_moistAir.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.009858/0.009858, allocations: 1.761 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.88/0.88, allocations: 130.8 MB / 154.9 MB, free: 9.176 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.001214/0.001214, allocations: 105.9 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.001619/0.001619, allocations: 215.4 kB / 218.5 MB, free: 5.188 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.587/1.587, allocations: 230.6 MB / 480.8 MB, free: 4.82 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.1122/0.1122, allocations: 25.54 MB / 0.5774 GB, free: 8.879 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.TestGas_moistAir,fileNamePrefix="TILMedia_TILMedia_Testers_TestGas_moistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TILMedia.Testers.TestGas_moistAir,fileNamePrefix="TILMedia_TILMedia_Testers_TestGas_moistAir",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.004079/0.004079, allocations: 139.8 kB / 0.7696 GB, free: 4.715 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5184/0.5225, allocations: 89.26 MB / 0.8568 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestGas_moistAir): time 0.004917/0.5274, allocations: 2.381 MB / 0.8591 GB, free: 15.83 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0179/0.5453, allocations: 11.51 MB / 0.8704 GB, free: 4.285 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002964/0.5456, allocations: 4 kB / 0.8704 GB, free: 4.281 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001046/0.5467, allocations: 215 kB / 0.8706 GB, free: 4.07 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005873/0.5473, allocations: 183.1 kB / 0.8707 GB, free: 3.891 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005916/0.5532, allocations: 2.338 MB / 0.873 GB, free: 1.543 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001052/0.5542, allocations: 0.6684 MB / 0.8737 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.813e-05/0.5543, allocations: 24.91 kB / 0.8737 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004671/0.5548, allocations: 239.3 kB / 0.8739 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001156/0.5559, allocations: 0.8655 MB / 0.8748 GB, free: 15.74 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0004903/0.5564, allocations: 184 kB / 0.875 GB, free: 15.56 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006793/0.5632, allocations: 3.984 MB / 0.8788 GB, free: 11.57 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.0009226/0.5641, allocations: 0.6119 MB / 0.8794 GB, free: 10.96 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.00121/0.5653, allocations: 0.6381 MB / 0.8801 GB, free: 10.32 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.008338/0.5737, allocations: 4.242 MB / 0.8842 GB, free: 6.066 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.5737, allocations: 7.938 kB / 0.8842 GB, free: 6.059 MB / 0.5607 GB Notification: Performance of FrontEnd: time 2.094e-06/0.5737, allocations: 0 / 0.8842 GB, free: 6.059 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 4.942e-05/0.5737, allocations: 0 / 0.8842 GB, free: 6.059 MB / 0.5607 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 182 * Number of variables: 182 Notification: Performance of Generate backend data structure: time 0.006824/0.5806, allocations: 2.464 MB / 0.8866 GB, free: 3.555 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/0.5806, allocations: 12.03 kB / 0.8866 GB, free: 3.543 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003416/0.581, allocations: 106.7 kB / 0.8867 GB, free: 3.43 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005379/0.5815, allocations: 92.33 kB / 0.8868 GB, free: 3.34 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00316/0.5847, allocations: 1.469 MB / 0.8883 GB, free: 1.855 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.369e-05/0.5847, allocations: 37.36 kB / 0.8883 GB, free: 1.82 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001809/0.5849, allocations: 40.38 kB / 0.8883 GB, free: 1.781 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006224/0.5911, allocations: 2.954 MB / 0.8912 GB, free: 14.79 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.5911, allocations: 0 / 0.8912 GB, free: 14.79 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.5912, allocations: 23.94 kB / 0.8912 GB, free: 14.77 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001137/0.5913, allocations: 105.9 kB / 0.8913 GB, free: 14.66 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01209/0.6034, allocations: 8.515 MB / 0.8997 GB, free: 6.141 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01278/0.6162, allocations: 7.317 MB / 0.9068 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004639/0.6208, allocations: 1.462 MB / 0.9082 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001547/0.6224, allocations: 0.9563 MB / 0.9092 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004482/0.6228, allocations: 192.7 kB / 0.9093 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.628e-05/0.6229, allocations: 43.56 kB / 0.9094 GB, free: 12 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=114): time 2.935e-06/0.6229, allocations: 0 / 0.9094 GB, free: 12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=114): time 0.01044/0.6333, allocations: 3.74 MB / 0.913 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/0.6334, allocations: 72.39 kB / 0.9131 GB, free: 8.176 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/0.6344, allocations: 0.6824 MB / 0.9138 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001219/0.6346, allocations: 45.7 kB / 0.9138 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003079/0.6349, allocations: 349 kB / 0.9141 GB, free: 7.086 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004182/0.6353, allocations: 408.5 kB / 0.9145 GB, free: 6.684 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005054/0.6358, allocations: 294.8 kB / 0.9148 GB, free: 6.387 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002048/0.636, allocations: 394.7 kB / 0.9152 GB, free: 5.992 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001445/0.6374, allocations: 0.998 MB / 0.9162 GB, free: 4.996 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001734/0.6392, allocations: 1.285 MB / 0.9174 GB, free: 3.586 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003291/0.6425, allocations: 2.382 MB / 0.9198 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.287e-06/0.6425, allocations: 4 kB / 0.9198 GB, free: 1.082 MB / 0.5919 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003992/0.6465, allocations: 2.535 MB / 0.9222 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/0.6465, allocations: 8 kB / 0.9222 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/0.6465, allocations: 8 kB / 0.9222 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.307e-05/0.6465, allocations: 16 kB / 0.9223 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002382/0.6489, allocations: 412.1 kB / 0.9227 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004839/0.6494, allocations: 0.6171 MB / 0.9233 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007941/0.6502, allocations: 115.2 kB / 0.9234 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002459/0.6504, allocations: 160 kB / 0.9235 GB, free: 13.2 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (152): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005829/0.651, allocations: 333.4 kB / 0.9238 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002935/0.6513, allocations: 91.38 kB / 0.9239 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005446/0.6568, allocations: 2.993 MB / 0.9268 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/0.6568, allocations: 12 kB / 0.9269 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.6568, allocations: 0 / 0.9269 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.6568, allocations: 7.984 kB / 0.9269 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001876/0.6587, allocations: 1.383 MB / 0.9282 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.6587, allocations: 0 / 0.9282 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002063/0.6607, allocations: 346.7 kB / 0.9285 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-05/0.6608, allocations: 7.938 kB / 0.9286 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001173/0.6609, allocations: 51.97 kB / 0.9286 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004378/0.6613, allocations: 0.5978 MB / 0.9292 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.644e-06/0.6613, allocations: 3.938 kB / 0.9292 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003477/0.6648, allocations: 2.333 MB / 0.9315 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008248/0.6656, allocations: 334.9 kB / 0.9318 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001889/0.6658, allocations: 16 kB / 0.9318 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00048/0.6663, allocations: 27.98 kB / 0.9318 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002031/0.6665, allocations: 104.9 kB / 0.9319 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000209/0.6667, allocations: 136 kB / 0.9321 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006739/0.6674, allocations: 494.8 kB / 0.9325 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.6674, allocations: 0 / 0.9325 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001377/0.6688, allocations: 447.1 kB / 0.933 GB, free: 3.43 MB / 0.6075 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 (114): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005881/0.6746, allocations: 3.769 MB / 0.9366 GB, free: 15.82 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.003553/0.6782, allocations: 2.407 MB / 0.939 GB, free: 13.41 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.6782, allocations: 4 kB / 0.939 GB, free: 13.41 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.001543/0.6797, allocations: 1.149 MB / 0.9401 GB, free: 12.26 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.6808, allocations: 230.3 kB / 0.9403 GB, free: 12.03 MB / 0.6232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01844/0.6993, allocations: 13.13 MB / 0.9532 GB, free: 14.53 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008123/0.7001, allocations: 1.018 MB / 0.9542 GB, free: 13.48 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 0.001908/0.702, allocations: 0.6855 MB / 0.9548 GB, free: 12.79 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008571/0.7029, allocations: 375.3 kB / 0.9552 GB, free: 12.43 MB / 0.6388 GB Notification: Performance of SimCode: time 8.91e-07/0.7029, allocations: 0 / 0.9552 GB, free: 12.43 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06525/0.7681, allocations: 27.57 MB / 0.9821 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.04/14.81, allocations: 3.938 kB / 0.9821 GB, free: 1.078 MB / 0.6544 GB " [Timeout remaining time 645] (rm -f TILMedia_TILMedia.Testers.TestGas_moistAir.pipe ; mkfifo TILMedia_TILMedia.Testers.TestGas_moistAir.pipe ; head -c 1048576 < TILMedia_TILMedia.Testers.TestGas_moistAir.pipe >> ../files/TILMedia_TILMedia.Testers.TestGas_moistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_TILMedia_TILMedia_Testers_TestGas_moistAir_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 TILMedia_TILMedia_Testers_TestGas_moistAir.fmu > TILMedia_TILMedia.Testers.TestGas_moistAir.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.347795092966408] Failed to read output from testmodel.py, exit status != 0: 15.184509871993214 15.205273203 14.627496029 Calling exit ...