Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008918/0.0008919, allocations: 91.22 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005654/0.005654, allocations: 170.6 kB / 16.26 MB, free: 6.613 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.471/1.471, allocations: 205.4 MB / 222.4 MB, free: 5.797 MB / 174.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: Performance of FrontEnd - loaded program: time 0.000656/0.0006562, allocations: 8 kB / 279.5 MB, free: 12.73 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3309, allocations: 47.58 MB / 327 MB, free: 1.391 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.4609/0.7919, allocations: 168.4 MB / 495.4 MB, free: 14.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003678/0.7956, allocations: 3.187 MB / 498.6 MB, free: 13.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004379/0.7961, allocations: 8.438 kB / 498.6 MB, free: 13.83 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006804/0.7968, allocations: 139.4 kB / 498.7 MB, free: 13.8 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001024/0.7978, allocations: 395 kB / 499.1 MB, free: 13.7 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007661/0.7986, allocations: 309.9 kB / 499.4 MB, free: 13.67 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001033/0.7996, allocations: 1.347 MB / 0.489 GB, free: 13.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.7998, allocations: 80.58 kB / 0.4891 GB, free: 13.47 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001899/0.8017, allocations: 0.7124 MB / 0.4898 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003421/0.8021, allocations: 277.1 kB / 0.4901 GB, free: 13.19 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.202e-05/0.8021, allocations: 17.66 kB / 0.4901 GB, free: 13.19 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003506/0.8025, allocations: 109.2 kB / 0.4902 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.8026, allocations: 74.88 kB / 0.4903 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002042/0.8028, allocations: 201.4 kB / 0.4905 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005623/0.8034, allocations: 0.4913 MB / 0.4909 GB, free: 12.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.8034, allocations: 2.906 kB / 0.4909 GB, free: 12.86 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.8034, allocations: 0 / 0.4909 GB, free: 12.86 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.8034, allocations: 0 / 0.4909 GB, free: 12.86 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008974/0.8043, allocations: 0.5216 MB / 0.4915 GB, free: 12.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.8044, allocations: 8.656 kB / 0.4915 GB, free: 12.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002982/0.8047, allocations: 44.23 kB / 0.4915 GB, free: 12.38 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004072/0.8051, allocations: 285.9 kB / 0.4918 GB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.8051, allocations: 18.25 kB / 0.4918 GB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.388e-05/0.8052, allocations: 24.22 kB / 0.4918 GB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004734/0.8056, allocations: 322.2 kB / 0.4921 GB, free: 11.97 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.8057, allocations: 3.938 kB / 0.4921 GB, free: 11.97 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.923e-05/0.8057, allocations: 10.16 kB / 0.4921 GB, free: 11.97 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.8057, allocations: 11.88 kB / 0.4921 GB, free: 11.96 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002927/0.806, allocations: 201.6 kB / 0.4923 GB, free: 11.93 MB / 398.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.001695/0.8077, allocations: 1.582 MB / 0.4939 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002784/0.808, allocations: 177.3 kB / 0.4941 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001618/0.8082, allocations: 99.02 kB / 0.4941 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.453e-05/0.8082, allocations: 2.094 kB / 0.4942 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.8083, allocations: 39.98 kB / 0.4942 GB, free: 10.49 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.363e-06/0.8083, allocations: 0 / 0.4942 GB, free: 10.49 MB / 398.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: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.005451/0.8137, allocations: 1.631 MB / 0.4958 GB, free: 9.578 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.8138, allocations: 54.25 kB / 0.4958 GB, free: 9.516 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002519/0.8141, allocations: 258.4 kB / 0.4961 GB, free: 9.379 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.403e-05/0.8141, allocations: 29.2 kB / 0.4961 GB, free: 9.348 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.8142, allocations: 179 kB / 0.4963 GB, free: 9.207 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.093e-05/0.8143, allocations: 95.47 kB / 0.4964 GB, free: 9.141 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.406e-05/0.8144, allocations: 35.52 kB / 0.4964 GB, free: 9.121 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.8145, allocations: 339.1 kB / 0.4967 GB, free: 8.797 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.8147, allocations: 94.61 kB / 0.4968 GB, free: 8.781 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002194/0.8149, allocations: 184 kB / 0.497 GB, free: 8.652 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003754/0.8153, allocations: 314.1 kB / 0.4973 GB, free: 8.504 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.8153, allocations: 0 / 0.4973 GB, free: 8.504 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005965/0.8159, allocations: 391.3 kB / 0.4977 GB, free: 8.391 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.8159, allocations: 7.969 kB / 0.4977 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.8159, allocations: 2.906 kB / 0.4977 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002377/0.8162, allocations: 82.23 kB / 0.4978 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000334/0.8165, allocations: 84.7 kB / 0.4978 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00153/0.8181, allocations: 1.852 MB / 0.4996 GB, free: 6.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002395/0.8183, allocations: 20.14 kB / 0.4997 GB, free: 6.512 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-05/0.8184, allocations: 39.12 kB / 0.4997 GB, free: 6.512 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001735/0.8186, allocations: 160.2 kB / 0.4999 GB, free: 6.383 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.473e-05/0.8186, allocations: 33.45 kB / 0.4999 GB, free: 6.363 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009466/0.8196, allocations: 443.9 kB / 0.5003 GB, free: 6.203 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.8196, allocations: 2.906 kB / 0.5003 GB, free: 6.203 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.8196, allocations: 0 / 0.5003 GB, free: 6.203 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005482/0.8202, allocations: 0.5626 MB / 0.5009 GB, free: 5.727 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/0.8212, allocations: 0.7223 MB / 0.5016 GB, free: 5.301 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.8212, allocations: 0 / 0.5016 GB, free: 5.301 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002936/0.8215, allocations: 76.05 kB / 0.5016 GB, free: 5.281 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-05/0.8216, allocations: 27.31 kB / 0.5017 GB, free: 5.266 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.519e-05/0.8216, allocations: 13.67 kB / 0.5017 GB, free: 5.262 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000892/0.8225, allocations: 1.282 MB / 0.5029 GB, free: 3.973 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.8225, allocations: 2.906 kB / 0.5029 GB, free: 3.973 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006128/0.8232, allocations: 480.7 kB / 0.5034 GB, free: 3.758 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.995e-05/0.8233, allocations: 111.3 kB / 0.5035 GB, free: 3.645 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.27e-05/0.8233, allocations: 6.719 kB / 0.5035 GB, free: 3.645 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002433/0.8235, allocations: 13.52 kB / 0.5035 GB, free: 3.641 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.652e-05/0.8236, allocations: 35.31 kB / 0.5036 GB, free: 3.625 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.911e-05/0.8237, allocations: 26.11 kB / 0.5036 GB, free: 3.621 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001754/0.8238, allocations: 194.3 kB / 0.5038 GB, free: 3.523 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8238, allocations: 3.938 kB / 0.5038 GB, free: 3.52 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005095/0.8244, allocations: 129 kB / 0.5039 GB, free: 3.508 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.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 (26): * Single equations (assignments): 25 * 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.0003859/0.8248, allocations: 158.5 kB / 0.504 GB, free: 3.391 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006796/0.8254, allocations: 363.3 kB / 0.5044 GB, free: 3.242 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.8255, allocations: 6.219 kB / 0.5044 GB, free: 3.242 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003085/0.8258, allocations: 234.9 kB / 0.5046 GB, free: 3.105 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.8268, allocations: 154.6 kB / 0.5048 GB, free: 3.051 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.8281, allocations: 0.8527 MB / 0.5056 GB, free: 2.477 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003798/0.8285, allocations: 0.7635 MB / 0.5063 GB, free: 1.742 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005538/0.8291, allocations: 123.5 kB / 0.5065 GB, free: 1.68 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002033/0.8293, allocations: 63.73 kB / 0.5065 GB, free: 1.66 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.8293, allocations: 0 / 0.5065 GB, free: 1.66 MB / 398.1 MB Notification: Performance of Templates: time 0.01497/0.8443, allocations: 8.396 MB / 0.5147 GB, free: 13.39 MB / 414.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe 2>&1)