Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2Mix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001824/0.001824, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003198/0.003199, allocations: 194.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.861/1.861, allocations: 205.1 MB / 222.4 MB, free: 4.59 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3765/0.3765, allocations: 39.94 MB / 309.7 MB, free: 9.238 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002718/0.002719, allocations: 66.88 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.1924, allocations: 56.88 MB / 434.5 MB, free: 3.68 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.5133/0.7058, allocations: 150.8 MB / 0.5716 GB, free: 12.56 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001827/0.7077, allocations: 1.496 MB / 0.5731 GB, free: 11.08 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.129e-05/0.7078, allocations: 4 kB / 0.5731 GB, free: 11.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003909/0.7082, allocations: 48.34 kB / 0.5731 GB, free: 11.03 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000926/0.7091, allocations: 386.9 kB / 0.5735 GB, free: 10.66 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004986/0.7096, allocations: 163.4 kB / 0.5736 GB, free: 10.5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003219/0.71, allocations: 183.3 kB / 0.5738 GB, free: 10.32 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.619e-05/0.7101, allocations: 12.77 kB / 0.5738 GB, free: 10.31 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002018/0.7103, allocations: 83.69 kB / 0.5739 GB, free: 10.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001708/0.7105, allocations: 55.77 kB / 0.574 GB, free: 10.17 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.628e-05/0.7105, allocations: 8 kB / 0.574 GB, free: 10.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001127/0.7116, allocations: 0.5729 MB / 0.5745 GB, free: 9.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.295e-05/0.7117, allocations: 31.89 kB / 0.5746 GB, free: 9.559 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.215e-05/0.7118, allocations: 51.8 kB / 0.5746 GB, free: 9.508 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005959/0.7124, allocations: 387.1 kB / 0.575 GB, free: 9.129 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.7124, allocations: 0 / 0.575 GB, free: 9.129 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.7124, allocations: 4 kB / 0.575 GB, free: 9.125 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.7124, allocations: 0 / 0.575 GB, free: 9.125 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005963/0.713, allocations: 427 kB / 0.5754 GB, free: 8.664 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.7131, allocations: 15.89 kB / 0.5754 GB, free: 8.648 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002363/0.7155, allocations: 187.1 kB / 0.5756 GB, free: 8.469 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002647/0.7157, allocations: 212.1 kB / 0.5758 GB, free: 8.223 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.7158, allocations: 20.3 kB / 0.5758 GB, free: 8.203 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.898e-05/0.7158, allocations: 4 kB / 0.5758 GB, free: 8.199 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004916/0.7163, allocations: 201.5 kB / 0.576 GB, free: 7.996 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.7163, allocations: 0.6562 kB / 0.576 GB, free: 7.996 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.24e-05/0.7164, allocations: 0 / 0.576 GB, free: 7.996 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.7164, allocations: 4 kB / 0.576 GB, free: 7.992 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005962/0.717, allocations: 243.8 kB / 0.5762 GB, free: 7.754 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001773/0.7188, allocations: 0.6703 MB / 0.5769 GB, free: 7.051 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004355/0.7192, allocations: 190.5 kB / 0.5771 GB, free: 6.859 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002161/0.7195, allocations: 96.81 kB / 0.5772 GB, free: 6.762 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001771/0.7196, allocations: 89.09 kB / 0.5773 GB, free: 6.656 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.7197, allocations: 38.56 kB / 0.5773 GB, free: 6.609 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.753e-06/0.7197, allocations: 0 / 0.5773 GB, free: 6.609 MB / 446.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005936/0.7256, allocations: 1.531 MB / 0.5788 GB, free: 4.977 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.7257, allocations: 59.34 kB / 0.5788 GB, free: 4.906 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.076e-05/0.7258, allocations: 111.3 kB / 0.579 GB, free: 4.789 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.169e-05/0.7258, allocations: 29.7 kB / 0.579 GB, free: 4.754 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.379e-05/0.7259, allocations: 104.2 kB / 0.5791 GB, free: 4.648 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.066e-05/0.726, allocations: 63.02 kB / 0.5791 GB, free: 4.586 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.37e-05/0.7261, allocations: 45.69 kB / 0.5792 GB, free: 4.535 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.7262, allocations: 318.8 kB / 0.5795 GB, free: 4.215 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002236/0.7265, allocations: 97.17 kB / 0.5796 GB, free: 4.121 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002446/0.7267, allocations: 124.3 kB / 0.5797 GB, free: 3.992 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004631/0.7272, allocations: 227.3 kB / 0.5799 GB, free: 3.758 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.7272, allocations: 1.938 kB / 0.5799 GB, free: 3.758 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006076/0.7278, allocations: 282.2 kB / 0.5802 GB, free: 3.473 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.7278, allocations: 8 kB / 0.5802 GB, free: 3.465 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.7278, allocations: 0 / 0.5802 GB, free: 3.465 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001414/0.728, allocations: 32.88 kB / 0.5802 GB, free: 3.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004675/0.7285, allocations: 51.95 kB / 0.5803 GB, free: 3.379 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003951/0.7289, allocations: 0.5367 MB / 0.5808 GB, free: 2.816 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000292/0.7292, allocations: 11.94 kB / 0.5808 GB, free: 2.805 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.61e-05/0.7292, allocations: 11.98 kB / 0.5808 GB, free: 2.793 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000137/0.7294, allocations: 129.8 kB / 0.5809 GB, free: 2.656 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.57e-05/0.7294, allocations: 15.75 kB / 0.581 GB, free: 2.641 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008798/0.7303, allocations: 316.4 kB / 0.5813 GB, free: 2.324 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.7303, allocations: 4 kB / 0.5813 GB, free: 2.32 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.7304, allocations: 3.938 kB / 0.5813 GB, free: 2.316 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.7304, allocations: 0 / 0.5813 GB, free: 2.316 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/0.7315, allocations: 0.6718 MB / 0.5819 GB, free: 1.578 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/0.7315, allocations: 4 kB / 0.5819 GB, free: 1.574 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004616/0.732, allocations: 52.89 kB / 0.582 GB, free: 1.523 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.938e-05/0.732, allocations: 20.84 kB / 0.582 GB, free: 1.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.661e-05/0.7321, allocations: 7.984 kB / 0.582 GB, free: 1.492 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001219/0.7333, allocations: 1.371 MB / 0.5833 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.7333, allocations: 160 / 0.5833 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008542/0.7342, allocations: 448.4 kB / 0.5838 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.193e-05/0.7342, allocations: 93.05 kB / 0.5839 GB, free: 15.4 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.81e-05/0.7343, allocations: 10.75 kB / 0.5839 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003396/0.7346, allocations: 11.98 kB / 0.5839 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.245e-05/0.7347, allocations: 11.98 kB / 0.5839 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.205e-05/0.7347, allocations: 15.98 kB / 0.5839 GB, free: 15.36 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.518e-05/0.7348, allocations: 84.28 kB / 0.584 GB, free: 15.27 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7348, allocations: 0 / 0.584 GB, free: 15.27 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000615/0.7354, allocations: 123.9 kB / 0.5841 GB, free: 15.15 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * 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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007057/0.7361, allocations: 262.8 kB / 0.5844 GB, free: 14.89 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006938/0.7368, allocations: 239.7 kB / 0.5846 GB, free: 14.66 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.7369, allocations: 0 / 0.5846 GB, free: 14.66 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004065/0.7373, allocations: 232.6 kB / 0.5848 GB, free: 14.42 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004708/0.7377, allocations: 54.36 kB / 0.5849 GB, free: 14.37 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009228/0.7387, allocations: 497.5 kB / 0.5853 GB, free: 13.84 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002934/0.739, allocations: 0.7046 MB / 0.586 GB, free: 13.11 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003828/0.7394, allocations: 53.39 kB / 0.5861 GB, free: 13.06 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.7395, allocations: 27.42 kB / 0.5861 GB, free: 13.04 MB / 462.1 MB Notification: Performance of SimCode: time 8.72e-07/0.7395, allocations: 4 kB / 0.5861 GB, free: 13.03 MB / 462.1 MB Notification: Performance of Templates: time 0.01146/0.751, allocations: 6.214 MB / 0.5922 GB, free: 6.832 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1)