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.00146/0.00146, allocations: 112.9 kB / 17.09 MB, free: 5.953 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.001807/0.001807, allocations: 200.2 kB / 18.03 MB, free: 5.035 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.317/1.317, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7719/0.7719, allocations: 126.1 MB / 417.9 MB, free: 12.81 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 62.28 kB / 0.5737 GB, free: 27.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1273, allocations: 78.71 MB / 0.6506 GB, free: 4.113 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002246/0.1296, allocations: 1.266 MB / 0.6518 GB, free: 2.836 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4317/0.5613, allocations: 147 MB / 0.7954 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.049e-05/0.5613, allocations: 0 / 0.7954 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.359e-05/0.5614, allocations: 3.938 kB / 0.7954 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 4.15e-05/0.5615, allocations: 6.078 kB / 0.7954 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003892/0.5618, allocations: 89.89 kB / 0.7955 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 7.623e-05/0.5619, allocations: 35.44 kB / 0.7955 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.437e-05/0.562, allocations: 2.719 kB / 0.7955 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.836e-05/0.562, allocations: 21.11 kB / 0.7955 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 5.771e-05/0.5621, allocations: 20.41 kB / 0.7955 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.5621, allocations: 2.438 kB / 0.7955 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002471/0.5624, allocations: 79.89 kB / 0.7956 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.484e-05/0.5624, allocations: 6.891 kB / 0.7956 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.073e-05/0.5624, allocations: 19.22 kB / 0.7956 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.5626, allocations: 66.19 kB / 0.7957 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.5626, allocations: 0 / 0.7957 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.332e-06/0.5626, allocations: 0 / 0.7957 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.5626, allocations: 1.188 kB / 0.7957 GB, free: 13.35 MB / 0.5919 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.0003876/0.563, allocations: 357.7 kB / 0.796 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.5631, allocations: 9.812 kB / 0.7961 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001782/0.5632, allocations: 10.02 kB / 0.7961 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.5633, allocations: 168.3 kB / 0.7962 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.5634, allocations: 10.03 kB / 0.7962 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.624e-05/0.5634, allocations: 7.297 kB / 0.7962 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.5635, allocations: 52.39 kB / 0.7963 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.5635, allocations: 4 kB / 0.7963 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.5635, allocations: 1.531 kB / 0.7963 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.5635, allocations: 0.9688 kB / 0.7963 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.44e-05/0.5636, allocations: 17.34 kB / 0.7963 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001642/0.5638, allocations: 163.8 kB / 0.7965 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 8.128e-05/0.5639, allocations: 55.12 kB / 0.7965 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.657e-05/0.5639, allocations: 16.97 kB / 0.7965 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.5639, allocations: 1.5 kB / 0.7965 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.5639, allocations: 38.91 kB / 0.7966 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.5639, allocations: 3.938 kB / 0.7966 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.0006658/0.5646, allocations: 367.4 kB / 0.7969 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/0.5647, allocations: 60.5 kB / 0.797 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.712e-05/0.5647, allocations: 95.3 kB / 0.7971 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.5647, allocations: 30.23 kB / 0.7971 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.112e-05/0.5648, allocations: 81.02 kB / 0.7972 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.824e-05/0.5648, allocations: 38.34 kB / 0.7972 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.273e-05/0.5649, allocations: 34.56 kB / 0.7973 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.853e-05/0.565, allocations: 316.5 kB / 0.7976 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.405e-05/0.565, allocations: 24.48 kB / 0.7976 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.628e-05/0.5651, allocations: 34.67 kB / 0.7976 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.739e-05/0.5652, allocations: 61.41 kB / 0.7977 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.5652, allocations: 1.219 kB / 0.7977 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001258/0.5653, allocations: 93.41 kB / 0.7978 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.5653, allocations: 7.891 kB / 0.7978 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.5653, allocations: 1.188 kB / 0.7978 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.5653, allocations: 1.031 kB / 0.7978 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.5654, allocations: 24.48 kB / 0.7978 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.5655, allocations: 1.188 kB / 0.7978 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.238e-05/0.5655, allocations: 8.281 kB / 0.7978 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.5655, allocations: 6.672 kB / 0.7978 GB, free: 11.48 MB / 0.5919 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 7.822e-05/0.5656, allocations: 120.8 kB / 0.7979 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.69e-05/0.5656, allocations: 9.688 kB / 0.7979 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.476e-05/0.5657, allocations: 10.78 kB / 0.7979 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.5657, allocations: 5.078 kB / 0.798 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.5657, allocations: 0 / 0.798 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.866e-05/0.5657, allocations: 84.97 kB / 0.798 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.5658, allocations: 4.219 kB / 0.798 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.513e-05/0.5658, allocations: 6.031 kB / 0.798 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.2e-05/0.5659, allocations: 13.73 kB / 0.7981 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002313/0.5661, allocations: 172 kB / 0.7982 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000237/0.5664, allocations: 288.1 kB / 0.7985 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.519e-05/0.5664, allocations: 25.95 kB / 0.7985 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 2.618e-05/0.5664, allocations: 79.81 kB / 0.7986 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of Backend: time 2.6e-07/0.5665, allocations: 5.281 kB / 0.7986 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004107/0.5669, allocations: 152.5 kB / 0.7987 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of SimCode: time 0.000633/0.5675, allocations: 0.7607 MB / 0.7995 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of Templates: time 0.003252/0.5708, allocations: 1.218 MB / 0.8007 GB, free: 9.887 MB / 0.5919 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)