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.01259/0.01259, allocations: 1.749 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.8452/0.8452, 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.001227/0.001227, allocations: 107.2 kB / 187.4 MB, free: 2.234 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.001449/0.001449, allocations: 208.5 kB / 219.2 MB, free: 2.375 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.446/1.446, allocations: 230.6 MB / 481.5 MB, free: 15.75 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.111/0.111, allocations: 25.54 MB / 0.5782 GB, free: 2.371 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,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.003657/0.003657, allocations: 135.8 kB / 0.7704 GB, free: 8.262 MB / 0.5607 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3746/0.3783, allocations: 89.25 MB / 0.8575 GB, free: 29.78 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestGas): time 0.003476/0.3818, allocations: 2.859 MB / 0.8603 GB, free: 27.74 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.01137/0.3931, allocations: 11.71 MB / 0.8717 GB, free: 19.43 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002486/0.3934, allocations: 3 kB / 0.8717 GB, free: 19.43 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.0008527/0.3943, allocations: 241.3 kB / 0.872 GB, free: 19.31 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.000444/0.3947, allocations: 257.5 kB / 0.8722 GB, free: 19.16 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.006021/0.4007, allocations: 2.466 MB / 0.8746 GB, free: 17.93 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.001129/0.4018, allocations: 1.004 MB / 0.8756 GB, free: 17.5 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 7.187e-05/0.4019, allocations: 26.83 kB / 0.8756 GB, free: 17.48 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003279/0.4022, allocations: 355.3 kB / 0.876 GB, free: 17.34 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001239/0.4035, allocations: 1.271 MB / 0.8772 GB, free: 16.91 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.000387/0.4039, allocations: 276.1 kB / 0.8775 GB, free: 16.91 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00657/0.4104, allocations: 4.088 MB / 0.8815 GB, free: 14.96 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.0007722/0.4112, allocations: 0.8655 MB / 0.8823 GB, free: 14.33 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.0007761/0.412, allocations: 0.9254 MB / 0.8832 GB, free: 13.62 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.00888/0.4209, allocations: 5.046 MB / 0.8881 GB, free: 10.68 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.4209, allocations: 0 / 0.8881 GB, free: 10.68 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.883e-06/0.4209, allocations: 0 / 0.8881 GB, free: 10.68 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 2.309e-05/0.4209, allocations: 1.688 kB / 0.8882 GB, free: 10.68 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.006911/0.4278, allocations: 3.247 MB / 0.8913 GB, free: 8.727 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.4279, allocations: 13.73 kB / 0.8913 GB, free: 8.723 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.905e-05/0.4279, allocations: 24.03 kB / 0.8914 GB, free: 8.719 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001909/0.4281, allocations: 132.4 kB / 0.8915 GB, free: 8.613 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004574/0.4285, allocations: 119.8 kB / 0.8916 GB, free: 8.543 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003207/0.4317, allocations: 2.183 MB / 0.8937 GB, free: 7.129 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.889e-05/0.4318, allocations: 44.55 kB / 0.8938 GB, free: 7.109 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001946/0.432, allocations: 59.72 kB / 0.8938 GB, free: 7.086 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008045/0.44, allocations: 4.27 MB / 0.898 GB, free: 5.027 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/0.44, allocations: 1.406 kB / 0.898 GB, free: 5.027 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000146/0.4402, allocations: 22.16 kB / 0.898 GB, free: 5.012 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001097/0.4403, allocations: 133.9 kB / 0.8981 GB, free: 4.977 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01586/0.4561, allocations: 12.62 MB / 0.9105 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01866/0.4748, allocations: 8.624 MB / 0.9189 GB, free: 2.242 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005954/0.4808, allocations: 1.255 MB / 0.9201 GB, free: 0.9805 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007998/0.4816, allocations: 388.6 kB / 0.9205 GB, free: 0.5977 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004704/0.482, allocations: 164.9 kB / 0.9207 GB, free: 444 kB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.562e-05/0.4821, allocations: 47.86 kB / 0.9207 GB, free: 388 kB / 0.5919 GB Notification: Performance of pre-optimization done (n=142): time 3.597e-06/0.4821, allocations: 4 kB / 0.9207 GB, free: 384 kB / 0.5919 GB Notification: Performance of matching and sorting (n=142): time 0.01146/0.4935, allocations: 2.383 MB / 0.923 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.965e-05/0.4936, allocations: 72.72 kB / 0.9231 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002906/0.4965, allocations: 1.643 MB / 0.9247 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001106/0.4966, allocations: 45.7 kB / 0.9247 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004762/0.4971, allocations: 0.5666 MB / 0.9253 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005391/0.4976, allocations: 0.4997 MB / 0.9258 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000968/0.4986, allocations: 455.3 kB / 0.9262 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001867/0.4988, allocations: 357.9 kB / 0.9266 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001452/0.5002, allocations: 0.808 MB / 0.9274 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0021/0.5023, allocations: 1.469 MB / 0.9288 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003158/0.5055, allocations: 2.12 MB / 0.9309 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.916e-05/0.5055, allocations: 15.94 kB / 0.9309 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.004756/0.5103, allocations: 2.543 MB / 0.9334 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.583e-05/0.5103, allocations: 20.2 kB / 0.9334 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.398e-05/0.5103, allocations: 24 kB / 0.9334 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.302e-05/0.5104, allocations: 32 kB / 0.9334 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001883/0.5123, allocations: 0.5071 MB / 0.9339 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.676e-05/0.5123, allocations: 47.8 kB / 0.934 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002232/0.5146, allocations: 238.4 kB / 0.9342 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000387/0.515, allocations: 252 kB / 0.9344 GB, free: 1.625 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.0007794/0.5157, allocations: 444.9 kB / 0.9349 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004242/0.5162, allocations: 127.2 kB / 0.935 GB, free: 1.055 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004998/0.5212, allocations: 2.176 MB / 0.9371 GB, free: 14.87 MB / 0.6232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.54e-05/0.5212, allocations: 12 kB / 0.9371 GB, free: 14.86 MB / 0.6232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.5212, allocations: 4 kB / 0.9371 GB, free: 14.85 MB / 0.6232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.456e-05/0.5212, allocations: 7.969 kB / 0.9371 GB, free: 14.84 MB / 0.6232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001787/0.523, allocations: 1.036 MB / 0.9381 GB, free: 13.77 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/0.523, allocations: 0 / 0.9381 GB, free: 13.77 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008598/0.5239, allocations: 331.6 kB / 0.9385 GB, free: 13.44 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.381e-05/0.5239, allocations: 4 kB / 0.9385 GB, free: 13.44 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000118/0.524, allocations: 75.97 kB / 0.9385 GB, free: 13.36 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.065e-06/0.524, allocations: 4 kB / 0.9385 GB, free: 13.36 MB / 0.6232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.524, allocations: 3.984 kB / 0.9385 GB, free: 13.36 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00245/0.5264, allocations: 1.307 MB / 0.9398 GB, free: 12.02 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009547/0.5274, allocations: 394.6 kB / 0.9402 GB, free: 11.64 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003591/0.5278, allocations: 20 kB / 0.9402 GB, free: 11.62 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008627/0.5286, allocations: 39.97 kB / 0.9403 GB, free: 11.58 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002128/0.5288, allocations: 133.1 kB / 0.9404 GB, free: 11.45 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002573/0.5291, allocations: 196 kB / 0.9406 GB, free: 11.26 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.001751/0.5308, allocations: 1.161 MB / 0.9417 GB, free: 10.09 MB / 0.6232 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5308, allocations: 0 / 0.9417 GB, free: 10.09 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.00223/0.5331, allocations: 0.5655 MB / 0.9423 GB, free: 9.52 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.005449/0.5385, allocations: 2.644 MB / 0.9448 GB, free: 7.043 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.003295/0.5418, allocations: 1.588 MB / 0.9464 GB, free: 5.457 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.5418, allocations: 0 / 0.9464 GB, free: 5.457 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.0009821/0.5428, allocations: 0.5421 MB / 0.9469 GB, free: 4.918 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00162/0.5444, allocations: 248.5 kB / 0.9472 GB, free: 4.672 MB / 0.6232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02476/0.5692, allocations: 13.39 MB / 0.9602 GB, free: 6.531 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001062/0.5702, allocations: 1.142 MB / 0.9613 GB, free: 5.359 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 0.003879/0.5741, allocations: 1.29 MB / 0.9626 GB, free: 4.062 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001744/0.5759, allocations: 0.616 MB / 0.9632 GB, free: 3.445 MB / 0.6388 GB Notification: Performance of SimCode: time 1.233e-06/0.5759, allocations: 0 / 0.9632 GB, free: 3.445 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07189/0.6478, allocations: 36.59 MB / 0.9989 GB, free: 15.04 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.4/14.05, allocations: 19.38 kB / 0.999 GB, free: 15.02 MB / 0.6857 GB " [Timeout remaining time 646] (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: 18.588261767057702] Failed to read output from testmodel.py, exit status != 0: 14.472952925018035 14.490204583 14.066161957 Calling exit ...