Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001434/0.001434, allocations: 107.1 kB / 15.98 MB, free: 5.871 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.001404/0.001404, allocations: 196.4 kB / 16.91 MB, free: 5.738 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.429/1.429, allocations: 222.9 MB / 240.6 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7631/0.7631, allocations: 126.1 MB / 416.8 MB, free: 7.961 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 63.61 kB / 0.4945 GB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1692, allocations: 78.71 MB / 0.5713 GB, free: 12.22 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002637/0.1718, allocations: 1.335 MB / 0.5726 GB, free: 10.88 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.443/0.6148, allocations: 144.8 MB / 0.7141 GB, free: 15.42 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.935e-05/0.6149, allocations: 0 / 0.7141 GB, free: 15.42 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.188e-05/0.615, allocations: 5.969 kB / 0.7141 GB, free: 15.42 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.426e-05/0.6151, allocations: 11.91 kB / 0.7141 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005865/0.6157, allocations: 81.83 kB / 0.7142 GB, free: 15.33 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.075e-05/0.6158, allocations: 35.8 kB / 0.7142 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.645e-05/0.6159, allocations: 4 kB / 0.7142 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.847e-05/0.6159, allocations: 19.97 kB / 0.7142 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.62e-05/0.616, allocations: 11.92 kB / 0.7142 GB, free: 15.26 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.616, allocations: 4 kB / 0.7142 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003273/0.6164, allocations: 83.83 kB / 0.7143 GB, free: 15.17 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.847e-05/0.6164, allocations: 7.984 kB / 0.7143 GB, free: 15.16 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.325e-05/0.6164, allocations: 11.94 kB / 0.7143 GB, free: 15.15 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.6166, allocations: 69.97 kB / 0.7144 GB, free: 15.09 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.6166, allocations: 0 / 0.7144 GB, free: 15.09 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6166, allocations: 4 kB / 0.7144 GB, free: 15.08 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.276e-05/0.6167, allocations: 0 / 0.7144 GB, free: 15.08 MB / 0.545 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.0005081/0.6172, allocations: 348 kB / 0.7147 GB, free: 14.7 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.6172, allocations: 12.03 kB / 0.7147 GB, free: 14.68 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002167/0.6175, allocations: 12.92 kB / 0.7148 GB, free: 14.67 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.6176, allocations: 168.5 kB / 0.7149 GB, free: 14.47 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.6176, allocations: 7.938 kB / 0.7149 GB, free: 14.46 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.843e-05/0.6176, allocations: 4 kB / 0.7149 GB, free: 14.46 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.6178, allocations: 53.61 kB / 0.715 GB, free: 14.4 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.6178, allocations: 0 / 0.715 GB, free: 14.4 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.6178, allocations: 7.938 kB / 0.715 GB, free: 14.39 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.6178, allocations: 3.984 kB / 0.715 GB, free: 14.39 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.985e-05/0.6179, allocations: 15.98 kB / 0.715 GB, free: 14.37 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001873/0.6181, allocations: 169.6 kB / 0.7152 GB, free: 14.16 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.208e-05/0.6182, allocations: 54.44 kB / 0.7152 GB, free: 14.09 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.285e-05/0.6182, allocations: 20.84 kB / 0.7152 GB, free: 14.07 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.6182, allocations: 0 / 0.7152 GB, free: 14.07 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.6183, allocations: 30.56 kB / 0.7153 GB, free: 14.03 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/0.6183, allocations: 0 / 0.7153 GB, free: 14.03 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0008003/0.6191, allocations: 366.4 kB / 0.7156 GB, free: 13.62 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.474e-05/0.6192, allocations: 59.39 kB / 0.7157 GB, free: 13.55 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.187e-05/0.6192, allocations: 93.86 kB / 0.7158 GB, free: 13.45 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.6193, allocations: 29.64 kB / 0.7158 GB, free: 13.41 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.02e-05/0.6193, allocations: 80.14 kB / 0.7159 GB, free: 13.33 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.357e-05/0.6194, allocations: 43.39 kB / 0.7159 GB, free: 13.29 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-05/0.6194, allocations: 41.75 kB / 0.7159 GB, free: 13.24 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.6196, allocations: 318.8 kB / 0.7163 GB, free: 12.92 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.619e-05/0.6196, allocations: 16 kB / 0.7163 GB, free: 12.91 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.848e-05/0.6197, allocations: 33.7 kB / 0.7163 GB, free: 12.87 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.043e-05/0.6198, allocations: 70.95 kB / 0.7164 GB, free: 12.79 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.6198, allocations: 0 / 0.7164 GB, free: 12.79 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001327/0.6199, allocations: 89.62 kB / 0.7165 GB, free: 12.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.6199, allocations: 8 kB / 0.7165 GB, free: 12.69 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.6199, allocations: 0 / 0.7165 GB, free: 12.69 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.62, allocations: 4 kB / 0.7165 GB, free: 12.69 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.6201, allocations: 19.98 kB / 0.7165 GB, free: 12.67 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.6201, allocations: 7.938 kB / 0.7165 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.639e-05/0.6201, allocations: 4 kB / 0.7165 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.6202, allocations: 6.188 kB / 0.7165 GB, free: 12.65 MB / 0.545 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 9.176e-05/0.6203, allocations: 116.4 kB / 0.7166 GB, free: 12.53 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.764e-05/0.6203, allocations: 7.906 kB / 0.7166 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.373e-05/0.6203, allocations: 12.84 kB / 0.7166 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.6203, allocations: 7.984 kB / 0.7166 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.872e-06/0.6203, allocations: 0 / 0.7166 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.6204, allocations: 0 / 0.7166 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001385/0.6205, allocations: 173.6 kB / 0.7168 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.6205, allocations: 3.984 kB / 0.7168 GB, free: 12.28 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001248/0.6206, allocations: 23.81 kB / 0.7168 GB, free: 12.26 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.6206, allocations: 0 / 0.7168 GB, free: 12.26 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.6207, allocations: 3.938 kB / 0.7168 GB, free: 12.26 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.6207, allocations: 7.938 kB / 0.7168 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.6207, allocations: 0 / 0.7168 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000225/0.6209, allocations: 138.1 kB / 0.717 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.776e-05/0.621, allocations: 85.02 kB / 0.7171 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.621, allocations: 4.031 kB / 0.7171 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.935e-05/0.6211, allocations: 8 kB / 0.7171 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.348e-05/0.6211, allocations: 4 kB / 0.7171 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.6212, allocations: 4 kB / 0.7171 GB, free: 11.98 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.957e-05/0.6212, allocations: 87.27 kB / 0.7172 GB, free: 11.89 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6212, allocations: 0 / 0.7172 GB, free: 11.89 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002058/0.6214, allocations: 12 kB / 0.7172 GB, free: 11.88 MB / 0.545 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.0001196/0.6216, allocations: 107.1 kB / 0.7173 GB, free: 11.76 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001733/0.6217, allocations: 55.92 kB / 0.7173 GB, free: 11.71 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.237e-06/0.6218, allocations: 0 / 0.7173 GB, free: 11.71 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.146e-05/0.6218, allocations: 31.92 kB / 0.7174 GB, free: 11.68 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.6221, allocations: 8 kB / 0.7174 GB, free: 11.67 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000679/0.6228, allocations: 343.5 kB / 0.7177 GB, free: 11.31 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.6231, allocations: 0.6926 MB / 0.7184 GB, free: 10.59 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.219e-05/0.6232, allocations: 8.672 kB / 0.7184 GB, free: 10.59 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.443e-05/0.6232, allocations: 15.44 kB / 0.7184 GB, free: 10.57 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.6232, allocations: 0 / 0.7184 GB, free: 10.57 MB / 0.545 GB Notification: Performance of Templates: time 0.00316/0.6264, allocations: 0.6297 MB / 0.719 GB, free: 9.945 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)