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.01105/0.01105, allocations: 1.757 MB / 20.61 MB, free: 0.8711 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 1.036/1.036, allocations: 130.7 MB / 154.8 MB, free: 4.199 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.001663/0.001663, allocations: 113.5 kB / 186.5 MB, free: 2.074 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.002137/0.002137, allocations: 218.5 kB / 218.4 MB, free: 2.234 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.927/1.927, allocations: 230.6 MB / 480.7 MB, free: 128 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.1734/0.1734, allocations: 25.6 MB / 0.5774 GB, free: 2.109 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_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.00405/0.00405, allocations: 135.8 kB / 0.7695 GB, free: 7.984 MB / 0.5607 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7984/0.8025, allocations: 89.26 MB / 0.8567 GB, free: 29.58 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestGas_moistAir): time 0.004721/0.8072, allocations: 2.2 MB / 0.8589 GB, free: 28.08 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.01658/0.8238, allocations: 10.37 MB / 0.869 GB, free: 21.15 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004352/0.8242, allocations: 2.125 kB / 0.869 GB, free: 21.15 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.001281/0.8255, allocations: 208.3 kB / 0.8692 GB, free: 21.06 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0005397/0.826, allocations: 184.1 kB / 0.8694 GB, free: 20.95 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.009418/0.8354, allocations: 2.337 MB / 0.8716 GB, free: 19.79 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.001358/0.8368, allocations: 0.6746 MB / 0.8723 GB, free: 19.5 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.8369, allocations: 18.23 kB / 0.8723 GB, free: 19.48 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004407/0.8373, allocations: 246.5 kB / 0.8725 GB, free: 19.39 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001553/0.8389, allocations: 0.8368 MB / 0.8734 GB, free: 19.11 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.0005224/0.8394, allocations: 183.3 kB / 0.8735 GB, free: 19.11 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009631/0.849, allocations: 2.701 MB / 0.8762 GB, free: 18.2 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.0009279/0.85, allocations: 0.6148 MB / 0.8768 GB, free: 17.75 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.0008607/0.8508, allocations: 0.5653 MB / 0.8773 GB, free: 17.34 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.01267/0.8635, allocations: 3.998 MB / 0.8812 GB, free: 15.12 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 9.808e-06/0.8635, allocations: 0 / 0.8812 GB, free: 15.12 MB / 0.5763 GB Notification: Performance of FrontEnd: time 4.849e-06/0.8635, allocations: 0 / 0.8812 GB, free: 15.12 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 4.029e-05/0.8636, allocations: 0 / 0.8812 GB, free: 15.12 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.00854/0.8721, allocations: 2.462 MB / 0.8836 GB, free: 13.57 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 7.778e-05/0.8722, allocations: 9.625 kB / 0.8836 GB, free: 13.57 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002111/0.8724, allocations: 107.4 kB / 0.8837 GB, free: 13.48 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005146/0.8729, allocations: 86.7 kB / 0.8838 GB, free: 13.43 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003679/0.8766, allocations: 1.474 MB / 0.8853 GB, free: 12.46 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.096e-05/0.8766, allocations: 35.7 kB / 0.8853 GB, free: 12.44 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001632/0.8768, allocations: 44.97 kB / 0.8853 GB, free: 12.43 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006813/0.8836, allocations: 2.952 MB / 0.8882 GB, free: 11 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.8836, allocations: 1.562 kB / 0.8882 GB, free: 11 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001118/0.8837, allocations: 16.25 kB / 0.8882 GB, free: 10.98 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001523/0.8839, allocations: 97.47 kB / 0.8883 GB, free: 10.96 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01407/0.898, allocations: 8.41 MB / 0.8966 GB, free: 8.07 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01116/0.9091, allocations: 6.983 MB / 0.9034 GB, free: 0.9492 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004403/0.9135, allocations: 1.463 MB / 0.9048 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001516/0.915, allocations: 0.9563 MB / 0.9057 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000428/0.9155, allocations: 172.8 kB / 0.9059 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.411e-05/0.9155, allocations: 43.56 kB / 0.9059 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=114): time 4.369e-06/0.9155, allocations: 8 kB / 0.906 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of matching and sorting (n=114): time 0.01142/0.9269, allocations: 3.736 MB / 0.9096 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.357e-05/0.927, allocations: 64.41 kB / 0.9097 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/0.9283, allocations: 0.7018 MB / 0.9103 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000119/0.9284, allocations: 45.7 kB / 0.9104 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004126/0.9288, allocations: 349 kB / 0.9107 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005463/0.9293, allocations: 416.4 kB / 0.9111 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000622/0.93, allocations: 294.8 kB / 0.9114 GB, free: 8.664 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0003359/0.9303, allocations: 398.7 kB / 0.9118 GB, free: 8.266 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001728/0.932, allocations: 0.9902 MB / 0.9127 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002019/0.934, allocations: 1.293 MB / 0.914 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003851/0.9379, allocations: 2.382 MB / 0.9163 GB, free: 3.359 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.348e-06/0.9379, allocations: 0 / 0.9163 GB, free: 3.359 MB / 0.5919 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.004667/0.9426, allocations: 2.527 MB / 0.9188 GB, free: 0.8242 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.857e-05/0.9426, allocations: 9 kB / 0.9188 GB, free: 0.8164 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.237e-05/0.9426, allocations: 12 kB / 0.9188 GB, free: 0.8047 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.747e-05/0.9427, allocations: 16 kB / 0.9188 GB, free: 0.7891 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002622/0.9453, allocations: 415.5 kB / 0.9192 GB, free: 392 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000634/0.9459, allocations: 0.6094 MB / 0.9198 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009991/0.9469, allocations: 119.1 kB / 0.9199 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002607/0.9472, allocations: 160 kB / 0.9201 GB, free: 15.48 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.0007472/0.9479, allocations: 325.3 kB / 0.9204 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003718/0.9483, allocations: 91.38 kB / 0.9205 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005545/0.9538, allocations: 2.985 MB / 0.9234 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-05/0.9539, allocations: 12 kB / 0.9234 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.218e-06/0.9539, allocations: 0 / 0.9234 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.734e-05/0.9539, allocations: 15.91 kB / 0.9234 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002271/0.9562, allocations: 1.235 MB / 0.9246 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.9562, allocations: 0 / 0.9246 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002263/0.9584, allocations: 339.7 kB / 0.925 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.491e-05/0.9584, allocations: 7.938 kB / 0.925 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001301/0.9586, allocations: 51.97 kB / 0.925 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005361/0.9591, allocations: 0.5938 MB / 0.9256 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.9591, allocations: 0 / 0.9256 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004016/0.9631, allocations: 2.341 MB / 0.9279 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001102/0.9642, allocations: 335 kB / 0.9282 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001873/0.9644, allocations: 20 kB / 0.9282 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005108/0.9649, allocations: 23.98 kB / 0.9282 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002458/0.9652, allocations: 100.8 kB / 0.9283 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002601/0.9654, allocations: 143.9 kB / 0.9285 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008849/0.9663, allocations: 494.7 kB / 0.929 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9663, allocations: 0 / 0.929 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001839/0.9682, allocations: 443.1 kB / 0.9294 GB, free: 5.871 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.007086/0.9752, allocations: 3.811 MB / 0.9331 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004176/0.9794, allocations: 2.415 MB / 0.9355 GB, free: 15.82 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.9794, allocations: 0 / 0.9355 GB, free: 15.82 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.001693/0.9811, allocations: 1.149 MB / 0.9366 GB, free: 14.67 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001295/0.9824, allocations: 218.6 kB / 0.9368 GB, free: 14.46 MB / 0.6232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02091/1.003, allocations: 13.14 MB / 0.9496 GB, free: 0.9297 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006134/1.004, allocations: 414.4 kB / 0.95 GB, free: 0.5 MB / 0.6232 GB Notification: Performance of simCode: alias equations: time 0.002087/1.006, allocations: 0.6821 MB / 0.9507 GB, free: 15.81 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008332/1.007, allocations: 371.3 kB / 0.951 GB, free: 15.45 MB / 0.6388 GB Notification: Performance of SimCode: time 2.274e-06/1.007, allocations: 0 / 0.951 GB, free: 15.45 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07224/1.079, allocations: 28 MB / 0.9784 GB, free: 3.801 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.19/17.27, allocations: 2.812 kB / 0.9784 GB, free: 3.801 MB / 0.6544 GB " [Timeout remaining time 642] (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.002 --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: 23.243635623250157] Failed to read output from testmodel.py, exit status != 0: 17.648892735131085 17.666820603 16.799612981 Calling exit ...