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.01353/0.01353, allocations: 1.771 MB / 18.83 MB, free: 4.332 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.9724/0.9724, allocations: 130.6 MB / 152.5 MB, free: 10.24 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.001282/0.001282, allocations: 110.9 kB / 183.8 MB, free: 3.301 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.001548/0.001548, allocations: 225.3 kB / 215.1 MB, free: 6.965 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.66/1.66, allocations: 230.5 MB / 476.9 MB, free: 5.773 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.1205/0.1205, allocations: 25.54 MB / 0.5731 GB, free: 10.41 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(TILMedia.Testers.TestGas_moistAir,fileNamePrefix="TILMedia_TILMedia_Testers_TestGas_moistAir",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.003922/0.003922, allocations: 131.8 kB / 0.7631 GB, free: 7.832 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5368/0.5408, allocations: 89.06 MB / 0.85 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestGas_moistAir): time 0.00417/0.5449, allocations: 2.359 MB / 0.8523 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01819/0.5631, allocations: 11.4 MB / 0.8635 GB, free: 5.965 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003118/0.5634, allocations: 4 kB / 0.8635 GB, free: 5.961 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009557/0.5644, allocations: 214.9 kB / 0.8637 GB, free: 5.75 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005213/0.5649, allocations: 179.1 kB / 0.8639 GB, free: 5.574 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.006079/0.571, allocations: 2.182 MB / 0.866 GB, free: 3.383 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001027/0.572, allocations: 0.6683 MB / 0.8666 GB, free: 2.715 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.051e-05/0.5721, allocations: 20.67 kB / 0.8667 GB, free: 2.695 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003087/0.5724, allocations: 239.4 kB / 0.8669 GB, free: 2.461 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001047/0.5734, allocations: 0.8538 MB / 0.8677 GB, free: 1.605 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003098/0.5738, allocations: 184 kB / 0.8679 GB, free: 1.426 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006851/0.5806, allocations: 3.766 MB / 0.8716 GB, free: 13.65 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.0008523/0.5815, allocations: 0.6119 MB / 0.8722 GB, free: 13.04 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.0008232/0.5823, allocations: 0.6342 MB / 0.8728 GB, free: 12.4 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.0089/0.5912, allocations: 4.254 MB / 0.8769 GB, free: 8.141 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.5912, allocations: 0 / 0.8769 GB, free: 8.141 MB / 0.5607 GB Notification: Performance of FrontEnd: time 2.004e-06/0.5912, allocations: 0 / 0.8769 GB, free: 8.141 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 2.311e-05/0.5912, allocations: 0 / 0.8769 GB, free: 8.141 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.00609/0.5973, allocations: 2.535 MB / 0.8794 GB, free: 5.543 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.5973, allocations: 8.625 kB / 0.8794 GB, free: 5.535 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.099e-05/0.5974, allocations: 21.12 kB / 0.8795 GB, free: 5.516 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001911/0.5976, allocations: 110.7 kB / 0.8796 GB, free: 5.398 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003717/0.5979, allocations: 92.33 kB / 0.8796 GB, free: 5.309 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002844/0.6008, allocations: 1.526 MB / 0.8811 GB, free: 3.75 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.131e-05/0.6008, allocations: 37.38 kB / 0.8812 GB, free: 3.715 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001588/0.601, allocations: 44.12 kB / 0.8812 GB, free: 3.672 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006713/0.6077, allocations: 2.954 MB / 0.8841 GB, free: 0.6797 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.6077, allocations: 0 / 0.8841 GB, free: 0.6797 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/0.6078, allocations: 19.98 kB / 0.8841 GB, free: 0.6602 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001266/0.608, allocations: 101.9 kB / 0.8842 GB, free: 0.5586 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01324/0.6212, allocations: 8.519 MB / 0.8925 GB, free: 8.031 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01341/0.6346, allocations: 7.358 MB / 0.8997 GB, free: 0.5234 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005159/0.6398, allocations: 1.466 MB / 0.9011 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001603/0.6414, allocations: 0.9563 MB / 0.9021 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004629/0.6418, allocations: 188.7 kB / 0.9023 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.019e-05/0.6419, allocations: 47.56 kB / 0.9023 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=114): time 3.557e-06/0.6419, allocations: 3.938 kB / 0.9023 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of matching and sorting (n=114): time 0.01135/0.6532, allocations: 3.732 MB / 0.906 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.662e-05/0.6533, allocations: 64.41 kB / 0.906 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/0.6543, allocations: 0.6941 MB / 0.9067 GB, free: 9.328 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001034/0.6544, allocations: 41.7 kB / 0.9067 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002766/0.6547, allocations: 349 kB / 0.9071 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003959/0.6551, allocations: 408.5 kB / 0.9075 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005194/0.6556, allocations: 302.8 kB / 0.9077 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002124/0.6558, allocations: 390.7 kB / 0.9081 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001509/0.6573, allocations: 0.9941 MB / 0.9091 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001873/0.6592, allocations: 1.289 MB / 0.9103 GB, free: 5.438 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003483/0.6627, allocations: 2.378 MB / 0.9127 GB, free: 2.938 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.407e-06/0.6627, allocations: 4 kB / 0.9127 GB, free: 2.934 MB / 0.5919 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.004235/0.6669, allocations: 2.527 MB / 0.9151 GB, free: 408 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/0.667, allocations: 8 kB / 0.9152 GB, free: 400 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/0.667, allocations: 12.16 kB / 0.9152 GB, free: 388 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.108e-05/0.667, allocations: 16 kB / 0.9152 GB, free: 372 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00274/0.6698, allocations: 419.4 kB / 0.9156 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005292/0.6703, allocations: 0.6054 MB / 0.9162 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009059/0.6712, allocations: 119.3 kB / 0.9163 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002598/0.6714, allocations: 160 kB / 0.9164 GB, free: 15.05 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.0005668/0.672, allocations: 325.3 kB / 0.9167 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002744/0.6723, allocations: 87.38 kB / 0.9168 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005863/0.6782, allocations: 2.993 MB / 0.9198 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/0.6782, allocations: 8 kB / 0.9198 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.6782, allocations: 0 / 0.9198 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.57e-05/0.6782, allocations: 11.97 kB / 0.9198 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002124/0.6803, allocations: 1.412 MB / 0.9211 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.6803, allocations: 0 / 0.9211 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002459/0.6828, allocations: 354.4 kB / 0.9215 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.218e-05/0.6828, allocations: 7.938 kB / 0.9215 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001675/0.683, allocations: 55.97 kB / 0.9215 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000453/0.6834, allocations: 0.6054 MB / 0.9221 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.6834, allocations: 0 / 0.9221 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003786/0.6872, allocations: 2.337 MB / 0.9244 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007438/0.688, allocations: 404.1 kB / 0.9248 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001679/0.6881, allocations: 20.09 kB / 0.9248 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005324/0.6887, allocations: 27.98 kB / 0.9249 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002444/0.6889, allocations: 96.89 kB / 0.9249 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002064/0.6891, allocations: 136 kB / 0.9251 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006822/0.6898, allocations: 494.8 kB / 0.9255 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.6898, allocations: 0 / 0.9255 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001485/0.6913, allocations: 447.1 kB / 0.926 GB, free: 5.152 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.006165/0.6974, allocations: 3.744 MB / 0.9296 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003977/0.7014, allocations: 2.41 MB / 0.932 GB, free: 15.15 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.7014, allocations: 1.938 kB / 0.932 GB, free: 15.15 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.001777/0.7032, allocations: 1.149 MB / 0.9331 GB, free: 14 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/0.7044, allocations: 238 kB / 0.9333 GB, free: 13.77 MB / 0.6232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01964/0.724, allocations: 13.14 MB / 0.9462 GB, free: 264 kB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007304/0.7247, allocations: 1.01 MB / 0.9472 GB, free: 15.22 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 0.002029/0.7268, allocations: 0.6887 MB / 0.9478 GB, free: 14.53 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008641/0.7276, allocations: 367.3 kB / 0.9482 GB, free: 14.17 MB / 0.6388 GB Notification: Performance of SimCode: time 1.052e-06/0.7276, allocations: 0 / 0.9482 GB, free: 14.17 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0545/0.7821, allocations: 26.71 MB / 0.9743 GB, free: 3.688 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.06/14.84, allocations: 7.391 kB / 0.9743 GB, free: 3.684 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.748623143008444] Failed to read output from testmodel.py, exit status != 0: 15.257152229954954 15.285901064 14.69033761 Calling exit ...