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.01066/0.01066, allocations: 1.757 MB / 20.6 MB, free: 1.148 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.916/0.916, allocations: 130.8 MB / 154.9 MB, free: 9.07 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.001272/0.001272, allocations: 114.9 kB / 186.6 MB, free: 3.098 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.001634/0.001634, allocations: 215.7 kB / 218.4 MB, free: 5.484 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.754/1.754, allocations: 230.6 MB / 480.7 MB, free: 5.746 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.1342/0.1342, allocations: 25.62 MB / 0.5775 GB, free: 8.559 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TILMedia.Testers.TestGas,fileNamePrefix="TILMedia_TILMedia_Testers_TestGas",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.004018/0.004018, allocations: 139.8 kB / 0.7696 GB, free: 4.453 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6048/0.6088, allocations: 89.26 MB / 0.8567 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestGas): time 0.004717/0.6135, allocations: 2.619 MB / 0.8593 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01632/0.6298, allocations: 10.55 MB / 0.8696 GB, free: 4.68 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000264/0.6301, allocations: 0 / 0.8696 GB, free: 4.68 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009971/0.6311, allocations: 238.8 kB / 0.8698 GB, free: 4.445 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006131/0.6317, allocations: 266.7 kB / 0.8701 GB, free: 4.184 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.007097/0.6388, allocations: 2.451 MB / 0.8725 GB, free: 1.723 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001575/0.6404, allocations: 1.004 MB / 0.8735 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.6405, allocations: 33.25 kB / 0.8735 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004635/0.6409, allocations: 355 kB / 0.8738 GB, free: 336 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001467/0.6424, allocations: 1.244 MB / 0.875 GB, free: 15.08 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.00045/0.6428, allocations: 276 kB / 0.8753 GB, free: 14.81 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006079/0.6489, allocations: 2.803 MB / 0.878 GB, free: 12 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.001115/0.65, allocations: 0.8575 MB / 0.8789 GB, free: 11.14 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.00105/0.6511, allocations: 0.8252 MB / 0.8797 GB, free: 10.32 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.009249/0.6603, allocations: 4.799 MB / 0.8844 GB, free: 5.508 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.6603, allocations: 4 kB / 0.8844 GB, free: 5.504 MB / 0.5607 GB Notification: Performance of FrontEnd: time 1.863e-06/0.6603, allocations: 0 / 0.8844 GB, free: 5.504 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 3.102e-05/0.6604, allocations: 0 / 0.8844 GB, free: 5.504 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.008026/0.6684, allocations: 3.231 MB / 0.8875 GB, free: 2.227 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/0.6684, allocations: 8.031 kB / 0.8875 GB, free: 2.219 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002344/0.6687, allocations: 140.2 kB / 0.8877 GB, free: 2.074 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004826/0.6692, allocations: 120.1 kB / 0.8878 GB, free: 1.957 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004548/0.6737, allocations: 2.187 MB / 0.8899 GB, free: 15.75 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.683e-05/0.6738, allocations: 41.69 kB / 0.89 GB, free: 15.7 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001911/0.674, allocations: 52.38 kB / 0.89 GB, free: 15.65 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009507/0.6835, allocations: 4.279 MB / 0.8942 GB, free: 11.32 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/0.6835, allocations: 3.938 kB / 0.8942 GB, free: 11.32 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001422/0.6836, allocations: 27.98 kB / 0.8942 GB, free: 11.29 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000158/0.6838, allocations: 133.9 kB / 0.8944 GB, free: 11.16 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01927/0.7031, allocations: 12.46 MB / 0.9065 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01984/0.7229, allocations: 8.149 MB / 0.9145 GB, free: 6.441 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00576/0.7287, allocations: 1.257 MB / 0.9157 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007153/0.7294, allocations: 384.6 kB / 0.9161 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004214/0.7298, allocations: 145 kB / 0.9162 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.171e-05/0.7298, allocations: 43.88 kB / 0.9163 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=142): time 4.368e-06/0.7298, allocations: 3.938 kB / 0.9163 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of matching and sorting (n=142): time 0.01176/0.7416, allocations: 2.387 MB / 0.9186 GB, free: 2.203 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.121e-05/0.7417, allocations: 64.72 kB / 0.9186 GB, free: 2.129 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002778/0.7445, allocations: 1.678 MB / 0.9203 GB, free: 436 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001285/0.7446, allocations: 49.7 kB / 0.9203 GB, free: 380 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005215/0.7451, allocations: 0.5629 MB / 0.9209 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000488/0.7456, allocations: 0.5074 MB / 0.9214 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007655/0.7464, allocations: 451.3 kB / 0.9218 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002272/0.7466, allocations: 357.9 kB / 0.9222 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001456/0.748, allocations: 0.808 MB / 0.9229 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002125/0.7502, allocations: 1.477 MB / 0.9244 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003353/0.7535, allocations: 2.116 MB / 0.9265 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.691e-05/0.7535, allocations: 7.75 kB / 0.9265 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.004796/0.7583, allocations: 2.554 MB / 0.929 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.731e-05/0.7584, allocations: 12 kB / 0.929 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.248e-05/0.7584, allocations: 27.94 kB / 0.929 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.126e-05/0.7585, allocations: 32 kB / 0.929 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001942/0.7604, allocations: 0.5148 MB / 0.9295 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.682e-05/0.7604, allocations: 47.98 kB / 0.9296 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002159/0.7626, allocations: 226.5 kB / 0.9298 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003711/0.763, allocations: 248 kB / 0.93 GB, free: 5.812 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.0008911/0.7639, allocations: 436.9 kB / 0.9304 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003805/0.7642, allocations: 139.1 kB / 0.9306 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004691/0.7689, allocations: 2.176 MB / 0.9327 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.717e-05/0.769, allocations: 12 kB / 0.9327 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.769, allocations: 4 kB / 0.9327 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-05/0.769, allocations: 7.969 kB / 0.9327 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0017/0.7707, allocations: 0.8416 MB / 0.9335 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.7707, allocations: 0 / 0.9335 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008548/0.7715, allocations: 331.6 kB / 0.9339 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.918e-06/0.7715, allocations: 4 kB / 0.9339 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000107/0.7717, allocations: 79.95 kB / 0.9339 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.155e-06/0.7717, allocations: 11.94 kB / 0.9339 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.7717, allocations: 0 / 0.9339 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002362/0.774, allocations: 1.307 MB / 0.9352 GB, free: 408 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001086/0.7751, allocations: 386.6 kB / 0.9356 GB, free: 20 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002569/0.7754, allocations: 28.08 kB / 0.9356 GB, free: 15.99 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007629/0.7761, allocations: 35.97 kB / 0.9357 GB, free: 15.95 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00023/0.7764, allocations: 133.1 kB / 0.9358 GB, free: 15.82 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002777/0.7766, allocations: 200 kB / 0.936 GB, free: 15.62 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.001837/0.7785, allocations: 1.157 MB / 0.9371 GB, free: 14.46 MB / 0.6232 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7785, allocations: 0 / 0.9371 GB, free: 14.46 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.002144/0.7806, allocations: 0.5656 MB / 0.9377 GB, free: 13.89 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.005194/0.7858, allocations: 2.687 MB / 0.9403 GB, free: 11.4 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.003521/0.7893, allocations: 1.593 MB / 0.9418 GB, free: 9.809 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.7893, allocations: 0 / 0.9418 GB, free: 9.809 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.0009274/0.7903, allocations: 0.5383 MB / 0.9424 GB, free: 9.273 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001293/0.7916, allocations: 255.7 kB / 0.9426 GB, free: 9.023 MB / 0.6232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02225/0.8138, allocations: 13.38 MB / 0.9557 GB, free: 10.89 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008073/0.8146, allocations: 0.5528 MB / 0.9562 GB, free: 10.31 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 0.003846/0.8185, allocations: 1.294 MB / 0.9575 GB, free: 9.008 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001529/0.82, allocations: 0.6044 MB / 0.9581 GB, free: 8.406 MB / 0.6388 GB Notification: Performance of SimCode: time 1.463e-06/0.82, allocations: 0 / 0.9581 GB, free: 8.406 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08798/0.908, allocations: 36.58 MB / 0.9938 GB, free: 3.91 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.3/15.21, allocations: 3.203 kB / 0.9938 GB, free: 3.91 MB / 0.67 GB " [Timeout remaining time 644] (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 & python3 -m fmpy simulate --output-file TILMedia_TILMedia.Testers.TestGas_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 TILMedia_TILMedia_Testers_TestGas.fmu > TILMedia_TILMedia.Testers.TestGas.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.12321926606819] Failed to read output from testmodel.py, exit status != 0: 15.599794351030141 15.62472734 14.959813838 Calling exit ...