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.00983/0.00983, allocations: 1.752 MB / 21.38 MB, free: 0.5625 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.8753/0.8753, allocations: 130.8 MB / 155.6 MB, free: 4.359 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.001249/0.001249, allocations: 115.2 kB / 187.4 MB, free: 2.238 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.002118/0.002118, allocations: 222.9 kB / 219.2 MB, free: 2.383 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.413/1.413, allocations: 230.6 MB / 481.5 MB, free: 15.77 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.1089/0.1089, allocations: 25.54 MB / 0.5782 GB, free: 2.375 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.003655/0.003655, allocations: 127.8 kB / 0.7704 GB, free: 8.281 MB / 0.5607 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.393/0.3967, allocations: 89.26 MB / 0.8575 GB, free: 29.76 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestGas_moistAir): time 0.002864/0.3995, allocations: 2.368 MB / 0.8598 GB, free: 28.08 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.01041/0.41, allocations: 11.52 MB / 0.8711 GB, free: 19.9 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002129/0.4102, allocations: 5.344 kB / 0.8711 GB, free: 19.9 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.0008024/0.411, allocations: 212.5 kB / 0.8713 GB, free: 19.8 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.000347/0.4113, allocations: 187 kB / 0.8715 GB, free: 19.69 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.005682/0.417, allocations: 2.336 MB / 0.8738 GB, free: 18.52 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0009288/0.4179, allocations: 0.6716 MB / 0.8744 GB, free: 18.24 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 7.135e-05/0.418, allocations: 19.33 kB / 0.8744 GB, free: 18.23 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002795/0.4183, allocations: 243.2 kB / 0.8747 GB, free: 18.13 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008802/0.4192, allocations: 0.8585 MB / 0.8755 GB, free: 17.84 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.0002625/0.4194, allocations: 184.3 kB / 0.8757 GB, free: 17.84 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006983/0.4264, allocations: 3.991 MB / 0.8796 GB, free: 16.17 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.0007709/0.4272, allocations: 0.6054 MB / 0.8802 GB, free: 15.73 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.000626/0.4278, allocations: 0.639 MB / 0.8808 GB, free: 15.25 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0091/0.4369, allocations: 4.255 MB / 0.8849 GB, free: 12.83 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.4369, allocations: 0 / 0.8849 GB, free: 12.83 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.904e-06/0.4369, allocations: 0 / 0.8849 GB, free: 12.83 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 2.312e-05/0.4369, allocations: 0 / 0.8849 GB, free: 12.83 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: 182 * Number of variables: 182 Notification: Performance of Generate backend data structure: time 0.005574/0.4425, allocations: 2.461 MB / 0.8873 GB, free: 11.28 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.4425, allocations: 9.906 kB / 0.8874 GB, free: 11.28 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.842e-05/0.4426, allocations: 17.98 kB / 0.8874 GB, free: 11.27 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001395/0.4427, allocations: 108 kB / 0.8875 GB, free: 11.18 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003263/0.443, allocations: 87.23 kB / 0.8876 GB, free: 11.13 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002401/0.4454, allocations: 1.481 MB / 0.889 GB, free: 10.16 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.924e-05/0.4455, allocations: 34.84 kB / 0.889 GB, free: 10.14 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/0.4456, allocations: 45.59 kB / 0.8891 GB, free: 10.12 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0056/0.4512, allocations: 2.95 MB / 0.892 GB, free: 8.691 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/0.4512, allocations: 1.094 kB / 0.892 GB, free: 8.691 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/0.4513, allocations: 20.7 kB / 0.892 GB, free: 8.676 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.021e-05/0.4514, allocations: 105.6 kB / 0.8921 GB, free: 8.641 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01079/0.4622, allocations: 8.512 MB / 0.9004 GB, free: 5.316 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01105/0.4733, allocations: 7.313 MB / 0.9075 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004647/0.4779, allocations: 1.462 MB / 0.909 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001384/0.4793, allocations: 0.9602 MB / 0.9099 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004294/0.4797, allocations: 200.6 kB / 0.9101 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.811e-05/0.4798, allocations: 39.56 kB / 0.9101 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=114): time 2.905e-06/0.4798, allocations: 0 / 0.9101 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of matching and sorting (n=114): time 0.01034/0.4901, allocations: 3.744 MB / 0.9138 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.704e-05/0.4902, allocations: 64.41 kB / 0.9138 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.4912, allocations: 0.6902 MB / 0.9145 GB, free: 6.652 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001181/0.4913, allocations: 45.7 kB / 0.9146 GB, free: 6.602 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002682/0.4916, allocations: 345 kB / 0.9149 GB, free: 6.258 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003951/0.492, allocations: 416.5 kB / 0.9153 GB, free: 5.848 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005192/0.4925, allocations: 290.8 kB / 0.9156 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002027/0.4927, allocations: 394.8 kB / 0.9159 GB, free: 5.16 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001465/0.4942, allocations: 0.9902 MB / 0.9169 GB, free: 4.172 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001758/0.496, allocations: 1.293 MB / 0.9182 GB, free: 2.758 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003428/0.4994, allocations: 2.382 MB / 0.9205 GB, free: 264 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.127e-06/0.4994, allocations: 4 kB / 0.9205 GB, free: 260 kB / 0.5919 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.004002/0.5034, allocations: 2.528 MB / 0.923 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.5034, allocations: 12.03 kB / 0.923 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/0.5034, allocations: 8 kB / 0.923 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.096e-05/0.5035, allocations: 16 kB / 0.923 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002526/0.506, allocations: 415.1 kB / 0.9234 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004859/0.5065, allocations: 0.6132 MB / 0.924 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009174/0.5074, allocations: 123.2 kB / 0.9241 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003058/0.5077, allocations: 152 kB / 0.9243 GB, free: 12.37 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.0006209/0.5083, allocations: 325.3 kB / 0.9246 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003061/0.5086, allocations: 87.38 kB / 0.9247 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005619/0.5142, allocations: 2.993 MB / 0.9276 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/0.5143, allocations: 12 kB / 0.9276 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/0.5143, allocations: 0 / 0.9276 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.532e-05/0.5143, allocations: 7.969 kB / 0.9276 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002207/0.5165, allocations: 1.375 MB / 0.9289 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.5165, allocations: 0 / 0.9289 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00226/0.5188, allocations: 351.5 kB / 0.9293 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.382e-05/0.5188, allocations: 15.88 kB / 0.9293 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001493/0.5189, allocations: 59.97 kB / 0.9293 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004472/0.5194, allocations: 0.5899 MB / 0.9299 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.5194, allocations: 0 / 0.9299 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003701/0.5231, allocations: 2.341 MB / 0.9322 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008586/0.5239, allocations: 335 kB / 0.9325 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002586/0.5242, allocations: 20 kB / 0.9325 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006228/0.5248, allocations: 27.98 kB / 0.9326 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002265/0.525, allocations: 96.84 kB / 0.9327 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002105/0.5253, allocations: 132 kB / 0.9328 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007743/0.526, allocations: 498.8 kB / 0.9333 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8.1e-08/0.526, allocations: 0 / 0.9333 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001536/0.5276, allocations: 455 kB / 0.9337 GB, free: 2.605 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.006148/0.5337, allocations: 3.75 MB / 0.9374 GB, free: 15.01 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.003646/0.5374, allocations: 2.415 MB / 0.9397 GB, free: 12.6 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.5374, allocations: 0 / 0.9397 GB, free: 12.6 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.001632/0.539, allocations: 1.153 MB / 0.9409 GB, free: 11.45 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001246/0.5402, allocations: 233.6 kB / 0.9411 GB, free: 11.22 MB / 0.6232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01853/0.5588, allocations: 13.14 MB / 0.9539 GB, free: 13.7 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007377/0.5595, allocations: 1.022 MB / 0.9549 GB, free: 12.66 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 0.001781/0.5613, allocations: 0.6822 MB / 0.9556 GB, free: 11.97 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007993/0.5621, allocations: 371.3 kB / 0.9559 GB, free: 11.61 MB / 0.6388 GB Notification: Performance of SimCode: time 1.232e-06/0.5621, allocations: 0 / 0.9559 GB, free: 11.61 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0579/0.62, allocations: 27.6 MB / 0.9829 GB, free: 276 kB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.9/14.52, allocations: 11.44 kB / 0.9829 GB, free: 268 kB / 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: 18.956234174896963] Failed to read output from testmodel.py, exit status != 0: 14.947871120995842 14.964117979 14.524196699 Calling exit ...