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.005999/0.005998, allocations: 106.8 kB / 15.74 MB, free: 6.051 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.001259/0.001259, allocations: 197 kB / 16.68 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.579/1.579, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.095/1.095, allocations: 135.1 MB / 425.7 MB, free: 12.1 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 59.91 kB / 0.5856 GB, free: 3.395 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5089/0.5103, allocations: 80.91 MB / 0.6646 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002325/0.5127, allocations: 1.278 MB / 0.6659 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1929/0.7056, allocations: 147 MB / 0.8094 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.348e-05/0.7057, allocations: 0 / 0.8094 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 2.733e-05/0.7058, allocations: 7.922 kB / 0.8094 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 6.869e-05/0.7059, allocations: 3.938 kB / 0.8094 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.000464/0.7064, allocations: 95.56 kB / 0.8095 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 9.457e-05/0.7065, allocations: 39.78 kB / 0.8096 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.701e-05/0.7065, allocations: 4 kB / 0.8096 GB, free: 12.69 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 5.167e-05/0.7066, allocations: 15.98 kB / 0.8096 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 6.777e-05/0.7067, allocations: 11.92 kB / 0.8096 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.7067, allocations: 4 kB / 0.8096 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000275/0.707, allocations: 79.83 kB / 0.8097 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 1.995e-05/0.707, allocations: 7.984 kB / 0.8097 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 3.711e-05/0.707, allocations: 15.92 kB / 0.8097 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001869/0.7072, allocations: 71.67 kB / 0.8098 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.7073, allocations: 4 kB / 0.8098 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.214e-06/0.7073, allocations: 0 / 0.8098 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.116e-05/0.7073, allocations: 0 / 0.8098 GB, free: 12.49 MB / 0.6387 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.0005353/0.7078, allocations: 341.4 kB / 0.8101 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.7079, allocations: 15.97 kB / 0.8101 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002288/0.7081, allocations: 12.92 kB / 0.8101 GB, free: 12.08 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.7082, allocations: 160.4 kB / 0.8103 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.7083, allocations: 7.938 kB / 0.8103 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.401e-05/0.7083, allocations: 11.91 kB / 0.8103 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.7084, allocations: 49.67 kB / 0.8103 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.7085, allocations: 0 / 0.8103 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.7085, allocations: 4 kB / 0.8103 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.7085, allocations: 7.984 kB / 0.8103 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.092e-05/0.7085, allocations: 11.98 kB / 0.8104 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002085/0.7088, allocations: 177.5 kB / 0.8105 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.7089, allocations: 58.48 kB / 0.8106 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.26e-05/0.7089, allocations: 16.86 kB / 0.8106 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.7089, allocations: 0 / 0.8106 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.709, allocations: 30.56 kB / 0.8106 GB, free: 11.44 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.709, allocations: 0 / 0.8106 GB, free: 11.44 MB / 0.6387 GB Notification: Performance of matching and sorting (n=11): time 0.000794/0.7098, allocations: 370.6 kB / 0.811 GB, free: 11.03 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.7098, allocations: 59.41 kB / 0.811 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.538e-05/0.7099, allocations: 89.86 kB / 0.8111 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.7099, allocations: 29.7 kB / 0.8112 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 3.044e-05/0.71, allocations: 84.38 kB / 0.8112 GB, free: 10.74 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.616e-05/0.71, allocations: 43.44 kB / 0.8113 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.361e-05/0.7101, allocations: 25.72 kB / 0.8113 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.7102, allocations: 322.8 kB / 0.8116 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.839e-05/0.7103, allocations: 24.12 kB / 0.8116 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.822e-05/0.7103, allocations: 33.7 kB / 0.8117 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.623e-05/0.7104, allocations: 61.69 kB / 0.8117 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.7104, allocations: 7.875 kB / 0.8117 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001377/0.7106, allocations: 97.58 kB / 0.8118 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.7106, allocations: 4 kB / 0.8118 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.7106, allocations: 7.938 kB / 0.8118 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.7106, allocations: 0 / 0.8118 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.7107, allocations: 23.92 kB / 0.8119 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.7108, allocations: 8 kB / 0.8119 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.26e-05/0.7108, allocations: 0 / 0.8119 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.7108, allocations: 8 kB / 0.8119 GB, free: 10.05 MB / 0.6387 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.782e-05/0.7109, allocations: 120.6 kB / 0.812 GB, free: 9.926 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.259e-05/0.7109, allocations: 0 / 0.812 GB, free: 9.926 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.805e-05/0.711, allocations: 11.95 kB / 0.812 GB, free: 9.918 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.711, allocations: 4 kB / 0.812 GB, free: 9.914 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.711, allocations: 0 / 0.812 GB, free: 9.914 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.711, allocations: 0 / 0.812 GB, free: 9.914 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001375/0.7111, allocations: 177.6 kB / 0.8122 GB, free: 9.691 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.7111, allocations: 0 / 0.8122 GB, free: 9.691 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001228/0.7113, allocations: 23.94 kB / 0.8122 GB, free: 9.668 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.7113, allocations: 0 / 0.8122 GB, free: 9.668 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.7113, allocations: 4 kB / 0.8122 GB, free: 9.664 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.7113, allocations: 0 / 0.8122 GB, free: 9.664 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.7113, allocations: 3.984 kB / 0.8122 GB, free: 9.66 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000204/0.7115, allocations: 140.9 kB / 0.8123 GB, free: 9.504 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 7.773e-05/0.7116, allocations: 81.16 kB / 0.8124 GB, free: 9.406 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.7116, allocations: 7.984 kB / 0.8124 GB, free: 9.398 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.456e-05/0.7117, allocations: 4 kB / 0.8124 GB, free: 9.395 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.873e-05/0.7118, allocations: 4 kB / 0.8124 GB, free: 9.391 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.757e-06/0.7118, allocations: 7.984 kB / 0.8124 GB, free: 9.383 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.391e-05/0.7118, allocations: 75.28 kB / 0.8125 GB, free: 9.309 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7118, allocations: 3.938 kB / 0.8125 GB, free: 9.305 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002073/0.712, allocations: 19.94 kB / 0.8125 GB, free: 9.285 MB / 0.6387 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 (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.000117/0.7121, allocations: 103.3 kB / 0.8126 GB, free: 9.172 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001453/0.7123, allocations: 55.91 kB / 0.8127 GB, free: 9.117 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.7123, allocations: 0 / 0.8127 GB, free: 9.117 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 4.16e-05/0.7124, allocations: 31.98 kB / 0.8127 GB, free: 9.086 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.7126, allocations: 7.938 kB / 0.8127 GB, free: 9.078 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005776/0.7132, allocations: 331 kB / 0.813 GB, free: 8.73 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/0.7135, allocations: 0.6889 MB / 0.8137 GB, free: 8.016 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 7.331e-05/0.7136, allocations: 8.672 kB / 0.8137 GB, free: 8.008 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.176e-05/0.7136, allocations: 11.44 kB / 0.8137 GB, free: 7.996 MB / 0.6387 GB Notification: Performance of SimCode: time 4.81e-07/0.7136, allocations: 7.938 kB / 0.8137 GB, free: 7.988 MB / 0.6387 GB Notification: Performance of Templates: time 0.002872/0.7165, allocations: 0.6336 MB / 0.8144 GB, free: 7.355 MB / 0.6387 GB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (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)