Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 100 kB / 15.05 MB, free: 1.105 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.001412/0.001412, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.203/1.203, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8283/0.8283, allocations: 135.2 MB / 426.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002626/0.0002626, allocations: 8 kB / 0.5068 GB, free: 5.277 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1586, allocations: 82.32 MB / 0.5872 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001097/0.1597, allocations: 0.9705 MB / 0.5881 GB, free: 2.156 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3678/0.5275, allocations: 124.3 MB / 0.7095 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.385e-05/0.5276, allocations: 0 / 0.7095 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.382e-05/0.5276, allocations: 1.266 kB / 0.7095 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.053e-05/0.5277, allocations: 9.625 kB / 0.7095 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004531/0.5281, allocations: 84.11 kB / 0.7096 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.064e-05/0.5282, allocations: 25.38 kB / 0.7096 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.09e-05/0.5282, allocations: 1.906 kB / 0.7096 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.874e-05/0.5283, allocations: 12.86 kB / 0.7096 GB, free: 3.266 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.925e-05/0.5284, allocations: 21.55 kB / 0.7097 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.5284, allocations: 6.406 kB / 0.7097 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003209/0.5287, allocations: 72.61 kB / 0.7097 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.614e-05/0.5288, allocations: 8.469 kB / 0.7097 GB, free: 3.223 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.192e-05/0.5288, allocations: 30.52 kB / 0.7098 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001398/0.5289, allocations: 45.77 kB / 0.7098 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.758e-06/0.529, allocations: 4 kB / 0.7098 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.423e-06/0.529, allocations: 3.938 kB / 0.7098 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.529, allocations: 1.438 kB / 0.7098 GB, free: 3.176 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003907/0.5294, allocations: 346.7 kB / 0.7102 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.5294, allocations: 9.594 kB / 0.7102 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002054/0.5296, allocations: 13.52 kB / 0.7102 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.5298, allocations: 161.7 kB / 0.7103 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.5298, allocations: 1.219 kB / 0.7103 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.5298, allocations: 15.33 kB / 0.7103 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.5299, allocations: 49.91 kB / 0.7104 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.53, allocations: 0 / 0.7104 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.53, allocations: 1.656 kB / 0.7104 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.53, allocations: 1.219 kB / 0.7104 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.2e-05/0.53, allocations: 17.52 kB / 0.7104 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001776/0.5302, allocations: 178.7 kB / 0.7106 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.373e-05/0.5303, allocations: 50.12 kB / 0.7106 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.5303, allocations: 2.422 kB / 0.7106 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.5304, allocations: 32.19 kB / 0.7107 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.5304, allocations: 0 / 0.7107 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.0007373/0.5311, allocations: 370.1 kB / 0.711 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.5312, allocations: 52.91 kB / 0.7111 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.792e-05/0.5312, allocations: 101.8 kB / 0.7112 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/0.5313, allocations: 30.45 kB / 0.7112 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.907e-05/0.5313, allocations: 81.67 kB / 0.7113 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.885e-05/0.5314, allocations: 43.41 kB / 0.7113 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.5314, allocations: 0 / 0.7113 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.5315, allocations: 317.8 kB / 0.7116 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.886e-05/0.5315, allocations: 17.16 kB / 0.7116 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.464e-05/0.5316, allocations: 43.47 kB / 0.7117 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.969e-05/0.5317, allocations: 22.97 kB / 0.7117 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.5317, allocations: 0 / 0.7117 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001486/0.5318, allocations: 94.91 kB / 0.7118 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.5318, allocations: 4.156 kB / 0.7118 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.5319, allocations: 2.234 kB / 0.7118 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.5319, allocations: 1.375 kB / 0.7118 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.532, allocations: 20.61 kB / 0.7118 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.532, allocations: 0.7031 kB / 0.7118 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.44e-05/0.5321, allocations: 5.156 kB / 0.7118 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.5321, allocations: 12.27 kB / 0.7118 GB, free: 1.23 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.968e-05/0.5322, allocations: 117.7 kB / 0.7119 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.745e-05/0.5322, allocations: 7.047 kB / 0.7119 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.029e-05/0.5322, allocations: 11.97 kB / 0.712 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.5322, allocations: 5.969 kB / 0.712 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.5323, allocations: 1.25 kB / 0.712 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.5323, allocations: 0.7031 kB / 0.712 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.5324, allocations: 178.9 kB / 0.7121 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.5324, allocations: 0.5 kB / 0.7121 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/0.5325, allocations: 25.7 kB / 0.7122 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.5326, allocations: 3.938 kB / 0.7122 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.5326, allocations: 1 kB / 0.7122 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.5326, allocations: 3.344 kB / 0.7122 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.5326, allocations: 0.8438 kB / 0.7122 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002224/0.5328, allocations: 133.4 kB / 0.7123 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.226e-05/0.5329, allocations: 86.17 kB / 0.7124 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.5329, allocations: 5.156 kB / 0.7124 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.925e-05/0.533, allocations: 8.219 kB / 0.7124 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.946e-05/0.533, allocations: 4.328 kB / 0.7124 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.533, allocations: 7.453 kB / 0.7124 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.932e-05/0.5331, allocations: 76.44 kB / 0.7125 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.252e-06/0.5331, allocations: 1.438 kB / 0.7125 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002005/0.5333, allocations: 20.06 kB / 0.7125 GB, free: 0.5898 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001059/0.5334, allocations: 96.42 kB / 0.7126 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001338/0.5336, allocations: 60.72 kB / 0.7126 GB, free: 496 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.5336, allocations: 0.9375 kB / 0.7126 GB, free: 496 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.384e-05/0.5336, allocations: 29.11 kB / 0.7127 GB, free: 488 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001651/0.5338, allocations: 7.422 kB / 0.7127 GB, free: 484 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006239/0.5344, allocations: 384.7 kB / 0.7131 GB, free: 188 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.5347, allocations: 0.688 MB / 0.7137 GB, free: 15.49 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.924e-05/0.5348, allocations: 11.78 kB / 0.7137 GB, free: 15.48 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.779e-05/0.5348, allocations: 11.09 kB / 0.7137 GB, free: 15.48 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.5348, allocations: 1.531 kB / 0.7137 GB, free: 15.48 MB / 0.545 GB Notification: Performance of Templates: time 0.002539/0.5374, allocations: 0.5811 MB / 0.7143 GB, free: 15.4 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: