Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TILMedia_TILMedia.Testers.TestGas_mixture.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.0172/0.0172, allocations: 1.757 MB / 20.6 MB, free: 0.8828 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.183/1.183, 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.001759/0.001759, allocations: 106.6 kB / 186.5 MB, free: 2.086 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.002259/0.002259, allocations: 207.6 kB / 218.4 MB, free: 2.25 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 2.104/2.104, allocations: 230.6 MB / 480.7 MB, free: 176 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.155/0.155, allocations: 25.59 MB / 0.5774 GB, free: 2.117 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_mixture,fileNamePrefix="TILMedia_TILMedia_Testers_TestGas_mixture",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TILMedia.Testers.TestGas_mixture,fileNamePrefix="TILMedia_TILMedia_Testers_TestGas_mixture",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.004031/0.004031, allocations: 139.8 kB / 0.7695 GB, free: 8 MB / 0.5607 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9846/0.9887, allocations: 89.25 MB / 0.8567 GB, free: 29.61 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestGas_mixture): time 0.007479/0.9962, allocations: 2.216 MB / 0.8589 GB, free: 28.09 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.02285/1.019, allocations: 10.37 MB / 0.869 GB, free: 21.16 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006985/1.02, allocations: 2.719 kB / 0.869 GB, free: 21.16 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.001918/1.022, allocations: 203.8 kB / 0.8692 GB, free: 21.07 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.001181/1.023, allocations: 192 kB / 0.8694 GB, free: 20.96 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01422/1.037, allocations: 2.339 MB / 0.8716 GB, free: 19.79 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.00249/1.04, allocations: 0.6819 MB / 0.8723 GB, free: 19.5 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002473/1.04, allocations: 19.62 kB / 0.8723 GB, free: 19.49 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001154/1.041, allocations: 243.7 kB / 0.8726 GB, free: 19.39 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002528/1.043, allocations: 0.9013 MB / 0.8734 GB, free: 19.1 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.001418/1.045, allocations: 200.9 kB / 0.8736 GB, free: 19.1 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01354/1.058, allocations: 2.733 MB / 0.8763 GB, free: 18.12 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.002308/1.061, allocations: 0.6227 MB / 0.8769 GB, free: 17.67 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.002533/1.063, allocations: 0.5901 MB / 0.8775 GB, free: 17.23 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.01856/1.082, allocations: 4.093 MB / 0.8815 GB, free: 14.95 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 2.091e-05/1.082, allocations: 1.344 kB / 0.8815 GB, free: 14.95 MB / 0.5763 GB Notification: Performance of FrontEnd: time 5.26e-06/1.082, allocations: 0 / 0.8815 GB, free: 14.95 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0001074/1.082, allocations: 0 / 0.8815 GB, free: 14.95 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.01278/1.095, allocations: 2.515 MB / 0.8839 GB, free: 13.39 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 9.916e-05/1.095, allocations: 13.61 kB / 0.884 GB, free: 13.39 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002808/1.095, allocations: 114 kB / 0.8841 GB, free: 13.29 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006732/1.096, allocations: 82.75 kB / 0.8841 GB, free: 13.25 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004426/1.1, allocations: 1.487 MB / 0.8856 GB, free: 12.27 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.715e-05/1.1, allocations: 34.12 kB / 0.8856 GB, free: 12.26 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001734/1.1, allocations: 42.81 kB / 0.8857 GB, free: 12.24 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008207/1.109, allocations: 2.926 MB / 0.8885 GB, free: 10.82 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.144e-05/1.109, allocations: 0 / 0.8885 GB, free: 10.82 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001161/1.109, allocations: 20.12 kB / 0.8885 GB, free: 10.81 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000194/1.109, allocations: 96.56 kB / 0.8886 GB, free: 10.78 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01823/1.127, allocations: 8.377 MB / 0.8968 GB, free: 7.805 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01344/1.141, allocations: 5.549 MB / 0.9022 GB, free: 2.172 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003906/1.145, allocations: 0.8461 MB / 0.9031 GB, free: 1.312 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003753/1.145, allocations: 259.7 kB / 0.9033 GB, free: 1.059 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003152/1.145, allocations: 108.8 kB / 0.9034 GB, free: 0.9531 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.72e-05/1.145, allocations: 43.56 kB / 0.9035 GB, free: 0.8984 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=95): time 4.589e-06/1.145, allocations: 0 / 0.9035 GB, free: 0.8984 MB / 0.5763 GB Notification: Performance of matching and sorting (n=95): time 0.007804/1.153, allocations: 1.601 MB / 0.905 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/1.153, allocations: 64.41 kB / 0.9051 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002377/1.156, allocations: 1.113 MB / 0.9062 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.469e-05/1.156, allocations: 41.7 kB / 0.9062 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005264/1.156, allocations: 400.3 kB / 0.9066 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003669/1.157, allocations: 349.1 kB / 0.9069 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006126/1.157, allocations: 294.8 kB / 0.9072 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000375/1.158, allocations: 390.8 kB / 0.9076 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001091/1.159, allocations: 0.5217 MB / 0.9081 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001678/1.16, allocations: 0.9263 MB / 0.909 GB, free: 11 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002433/1.163, allocations: 1.319 MB / 0.9103 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-05/1.163, allocations: 4 kB / 0.9103 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003694/1.166, allocations: 1.653 MB / 0.9119 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.151e-05/1.166, allocations: 8 kB / 0.9119 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.309e-05/1.167, allocations: 16 kB / 0.9119 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.078e-05/1.167, allocations: 19.98 kB / 0.9119 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/1.168, allocations: 339.8 kB / 0.9123 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.966e-05/1.168, allocations: 27.92 kB / 0.9123 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001634/1.17, allocations: 143.1 kB / 0.9124 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003022/1.17, allocations: 164 kB / 0.9126 GB, free: 7.141 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * 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 (151): * Single equations (assignments): 151 * 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.000763/1.171, allocations: 321.3 kB / 0.9129 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002807/1.171, allocations: 87.38 kB / 0.913 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003785/1.175, allocations: 1.474 MB / 0.9144 GB, free: 5.242 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.767e-05/1.175, allocations: 8 kB / 0.9144 GB, free: 5.234 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/1.175, allocations: 0 / 0.9144 GB, free: 5.234 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.557e-05/1.175, allocations: 7.984 kB / 0.9144 GB, free: 5.227 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001437/1.176, allocations: 0.6142 MB / 0.915 GB, free: 4.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.784e-06/1.176, allocations: 3.938 kB / 0.915 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006087/1.177, allocations: 215.8 kB / 0.9152 GB, free: 4.355 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.117e-06/1.177, allocations: 4 kB / 0.9152 GB, free: 4.352 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.929e-05/1.177, allocations: 51.97 kB / 0.9153 GB, free: 4.301 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.603e-06/1.177, allocations: 4 kB / 0.9153 GB, free: 4.297 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.177, allocations: 4 kB / 0.9153 GB, free: 4.293 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001673/1.179, allocations: 0.9195 MB / 0.9162 GB, free: 3.355 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007911/1.179, allocations: 259 kB / 0.9164 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001622/1.18, allocations: 16 kB / 0.9165 GB, free: 3.086 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005186/1.18, allocations: 27.98 kB / 0.9165 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001877/1.18, allocations: 88.88 kB / 0.9166 GB, free: 2.973 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002199/1.18, allocations: 132 kB / 0.9167 GB, free: 2.844 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001375/1.182, allocations: 0.7879 MB / 0.9175 GB, free: 2.062 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.11e-07/1.182, allocations: 4 kB / 0.9175 GB, free: 2.059 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002282/1.184, allocations: 435.1 kB / 0.9179 GB, free: 1.633 MB / 0.5919 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 (95): * Single equations (assignments): 95 * 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.005185/1.189, allocations: 2.219 MB / 0.9201 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002435/1.192, allocations: 1.034 MB / 0.9211 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/1.192, allocations: 0 / 0.9211 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006612/1.192, allocations: 366.3 kB / 0.9214 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/1.193, allocations: 177.8 kB / 0.9216 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01799/1.211, allocations: 9.006 MB / 0.9304 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006409/1.212, allocations: 401.6 kB / 0.9308 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002777/1.215, allocations: 0.8531 MB / 0.9316 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001006/1.216, allocations: 411.1 kB / 0.932 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of SimCode: time 1.653e-06/1.216, allocations: 3.938 kB / 0.932 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08521/1.301, allocations: 25.61 MB / 0.957 GB, free: 9.379 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.6/15.9, allocations: 3.938 kB / 0.957 GB, free: 9.375 MB / 0.6388 GB " [Timeout remaining time 644] (rm -f TILMedia_TILMedia.Testers.TestGas_mixture.pipe ; mkfifo TILMedia_TILMedia.Testers.TestGas_mixture.pipe ; head -c 1048576 < TILMedia_TILMedia.Testers.TestGas_mixture.pipe >> ../files/TILMedia_TILMedia.Testers.TestGas_mixture.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_TILMedia_TILMedia_Testers_TestGas_mixture_fmu --startTime=0 --stopTime=1 --stepSize=0.002 --timeout=50 --tolerance=1e-06 TILMedia_TILMedia_Testers_TestGas_mixture.fmu > TILMedia_TILMedia.Testers.TestGas_mixture.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.573597373906523] Failed to read output from testmodel.py, exit status != 0: 16.274076516740024 16.294533767 15.207996931 Calling exit ...