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.01056/0.01056, 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.9582/0.9582, allocations: 130.6 MB / 152.5 MB, free: 10.22 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.001433/0.001433, allocations: 109.6 kB / 183.8 MB, free: 3.293 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.00157/0.00157, allocations: 204 kB / 215.1 MB, free: 6.984 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.62/1.62, allocations: 230.5 MB / 476.9 MB, free: 5.734 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.1226/0.1226, allocations: 25.54 MB / 0.5731 GB, free: 10.39 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(TILMedia.Testers.TestGas,fileNamePrefix="TILMedia_TILMedia_Testers_TestGas",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.004374/0.004374, allocations: 135.8 kB / 0.7631 GB, free: 7.793 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4256/0.43, allocations: 89.05 MB / 0.85 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestGas): time 0.005197/0.4352, allocations: 2.854 MB / 0.8528 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01716/0.4523, allocations: 11.58 MB / 0.8641 GB, free: 5.387 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004211/0.4527, allocations: 7.938 kB / 0.8641 GB, free: 5.379 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001118/0.4539, allocations: 238.8 kB / 0.8644 GB, free: 5.145 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006014/0.4545, allocations: 266.7 kB / 0.8646 GB, free: 4.883 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.006094/0.4606, allocations: 2.295 MB / 0.8669 GB, free: 2.578 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001357/0.4619, allocations: 0.9926 MB / 0.8678 GB, free: 1.586 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.46e-05/0.462, allocations: 33.06 kB / 0.8679 GB, free: 1.551 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004062/0.4624, allocations: 355 kB / 0.8682 GB, free: 1.203 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001399/0.4638, allocations: 1.271 MB / 0.8694 GB, free: 15.93 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0004321/0.4643, allocations: 276 kB / 0.8697 GB, free: 15.66 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007016/0.4713, allocations: 3.856 MB / 0.8735 GB, free: 11.8 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.001032/0.4723, allocations: 0.8692 MB / 0.8743 GB, free: 10.93 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.001084/0.4734, allocations: 0.9222 MB / 0.8752 GB, free: 10 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.008631/0.482, allocations: 5.041 MB / 0.8801 GB, free: 4.949 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.482, allocations: 0 / 0.8801 GB, free: 4.949 MB / 0.5607 GB Notification: Performance of FrontEnd: time 1.162e-06/0.482, allocations: 0 / 0.8801 GB, free: 4.949 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 2.399e-05/0.482, allocations: 4 kB / 0.8802 GB, free: 4.945 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.008249/0.4903, allocations: 3.314 MB / 0.8834 GB, free: 1.566 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/0.4903, allocations: 12.62 kB / 0.8834 GB, free: 1.555 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.649e-05/0.4904, allocations: 17.5 kB / 0.8834 GB, free: 1.539 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002614/0.4906, allocations: 140.2 kB / 0.8836 GB, free: 1.395 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005252/0.4912, allocations: 120.1 kB / 0.8837 GB, free: 1.277 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004135/0.4953, allocations: 2.243 MB / 0.8859 GB, free: 15 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.684e-05/0.4953, allocations: 45.67 kB / 0.8859 GB, free: 14.96 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002115/0.4956, allocations: 56.12 kB / 0.886 GB, free: 14.9 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009556/0.5051, allocations: 4.268 MB / 0.8901 GB, free: 10.58 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.5051, allocations: 7.938 kB / 0.8901 GB, free: 10.57 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001562/0.5053, allocations: 20 kB / 0.8901 GB, free: 10.55 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001555/0.5054, allocations: 137.9 kB / 0.8903 GB, free: 10.42 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02976/0.5352, allocations: 12.62 MB / 0.9026 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02874/0.5639, allocations: 8.65 MB / 0.911 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00679/0.5707, allocations: 1.251 MB / 0.9123 GB, free: 3.766 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007165/0.5715, allocations: 392.6 kB / 0.9126 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003992/0.5719, allocations: 168.9 kB / 0.9128 GB, free: 3.215 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.079e-05/0.5719, allocations: 47.88 kB / 0.9129 GB, free: 3.16 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=142): time 3.717e-06/0.5719, allocations: 3.938 kB / 0.9129 GB, free: 3.156 MB / 0.5919 GB Notification: Performance of matching and sorting (n=142): time 0.01183/0.5837, allocations: 2.387 MB / 0.9152 GB, free: 0.7656 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.899e-05/0.5838, allocations: 68.66 kB / 0.9153 GB, free: 0.6836 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002623/0.5864, allocations: 1.643 MB / 0.9169 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.922e-05/0.5865, allocations: 49.7 kB / 0.9169 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004879/0.587, allocations: 0.5665 MB / 0.9175 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004845/0.5875, allocations: 0.5036 MB / 0.9179 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007978/0.5883, allocations: 455.3 kB / 0.9184 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002243/0.5885, allocations: 357.9 kB / 0.9187 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001473/0.59, allocations: 0.8002 MB / 0.9195 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002114/0.5921, allocations: 1.477 MB / 0.9209 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003283/0.5954, allocations: 2.12 MB / 0.923 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-05/0.5954, allocations: 4 kB / 0.923 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.004972/0.6004, allocations: 2.554 MB / 0.9255 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.395e-05/0.6004, allocations: 12 kB / 0.9255 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.873e-05/0.6004, allocations: 27.94 kB / 0.9256 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.642e-05/0.6005, allocations: 35.98 kB / 0.9256 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001997/0.6025, allocations: 0.5116 MB / 0.9261 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.741e-05/0.6025, allocations: 43.86 kB / 0.9261 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002305/0.6048, allocations: 230.5 kB / 0.9264 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003746/0.6052, allocations: 252 kB / 0.9266 GB, free: 4.41 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.0008293/0.606, allocations: 444.9 kB / 0.927 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003863/0.6064, allocations: 127.2 kB / 0.9271 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005125/0.6115, allocations: 2.172 MB / 0.9293 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.6116, allocations: 12 kB / 0.9293 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.6116, allocations: 3.938 kB / 0.9293 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.584e-05/0.6116, allocations: 7.969 kB / 0.9293 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001872/0.6135, allocations: 1.057 MB / 0.9303 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.6135, allocations: 0 / 0.9303 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008896/0.6144, allocations: 327.7 kB / 0.9306 GB, free: 208 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.059e-05/0.6144, allocations: 8 kB / 0.9306 GB, free: 200 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001147/0.6145, allocations: 75.95 kB / 0.9307 GB, free: 124 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.237e-06/0.6145, allocations: 8 kB / 0.9307 GB, free: 116 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.6145, allocations: 0 / 0.9307 GB, free: 116 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002442/0.6169, allocations: 1.307 MB / 0.932 GB, free: 14.79 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008063/0.6177, allocations: 475.7 kB / 0.9324 GB, free: 14.3 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002095/0.6179, allocations: 20 kB / 0.9325 GB, free: 14.28 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007802/0.6187, allocations: 31.98 kB / 0.9325 GB, free: 14.25 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002373/0.619, allocations: 137.2 kB / 0.9326 GB, free: 14.12 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000264/0.6192, allocations: 192 kB / 0.9328 GB, free: 13.93 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.001709/0.6209, allocations: 1.161 MB / 0.9339 GB, free: 12.76 MB / 0.6232 GB Notification: Performance of sort global known variables: time 9e-08/0.6209, allocations: 0 / 0.9339 GB, free: 12.76 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.001901/0.6228, allocations: 0.5655 MB / 0.9345 GB, free: 12.19 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.005413/0.6282, allocations: 2.636 MB / 0.9371 GB, free: 9.727 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.003171/0.6314, allocations: 1.589 MB / 0.9386 GB, free: 8.141 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.6314, allocations: 384 / 0.9386 GB, free: 8.141 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.0009662/0.6324, allocations: 0.5383 MB / 0.9391 GB, free: 7.605 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001587/0.634, allocations: 259.2 kB / 0.9394 GB, free: 7.348 MB / 0.6232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02172/0.6557, allocations: 13.38 MB / 0.9525 GB, free: 9.223 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000935/0.6566, allocations: 1.142 MB / 0.9536 GB, free: 8.047 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 0.003518/0.6602, allocations: 1.304 MB / 0.9548 GB, free: 6.738 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001386/0.6615, allocations: 0.6083 MB / 0.9554 GB, free: 6.129 MB / 0.6388 GB Notification: Performance of SimCode: time 1.212e-06/0.6615, allocations: 0 / 0.9554 GB, free: 6.129 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0699/0.7314, allocations: 35.26 MB / 0.9899 GB, free: 2.98 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/12.12, allocations: 3.938 kB / 0.9899 GB, free: 2.977 MB / 0.67 GB " [Timeout remaining time 647] (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: 17.009311394998804] Failed to read output from testmodel.py, exit status != 0: 12.521977474039886 12.54971855 12.062565289 Calling exit ...