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.001497/0.001497, allocations: 111.8 kB / 16.53 MB, free: 6.734 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.001763/0.001763, allocations: 199.1 kB / 17.45 MB, free: 6.051 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.341/1.341, allocations: 222.9 MB / 241.1 MB, free: 13.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6965/0.6965, allocations: 115.3 MB / 406.6 MB, free: 6.488 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 55.91 kB / 493.5 MB, free: 0.8555 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3573, allocations: 76.17 MB / 0.5564 GB, free: 35.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002307/0.3596, allocations: 1.329 MB / 0.5577 GB, free: 34.54 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1572/0.5169, allocations: 144.7 MB / 0.699 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.503e-05/0.5169, allocations: 4 kB / 0.699 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.67e-05/0.517, allocations: 0 / 0.699 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.209e-05/0.5171, allocations: 0 / 0.699 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004648/0.5176, allocations: 83.62 kB / 0.6991 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.902e-05/0.5176, allocations: 27.92 kB / 0.6991 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.151e-05/0.5177, allocations: 7.984 kB / 0.6991 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.943e-05/0.5177, allocations: 15.94 kB / 0.6991 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.681e-05/0.5178, allocations: 15.98 kB / 0.6991 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.5178, allocations: 0 / 0.6991 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002878/0.5181, allocations: 75.81 kB / 0.6992 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.794e-05/0.5182, allocations: 11.88 kB / 0.6992 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.57e-05/0.5182, allocations: 19.97 kB / 0.6992 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.5183, allocations: 49.86 kB / 0.6993 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.5184, allocations: 0 / 0.6993 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of FrontEnd: time 8.11e-07/0.5184, allocations: 0 / 0.6993 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.5184, allocations: 4 kB / 0.6993 GB, free: 1.875 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.0004258/0.5188, allocations: 348.4 kB / 0.6996 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.5189, allocations: 11.97 kB / 0.6996 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002058/0.5191, allocations: 16.83 kB / 0.6996 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.5192, allocations: 160.4 kB / 0.6998 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.5192, allocations: 7.938 kB / 0.6998 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.5192, allocations: 4 kB / 0.6998 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.5194, allocations: 53.67 kB / 0.6999 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.5194, allocations: 0 / 0.6999 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.5194, allocations: 8 kB / 0.6999 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.5194, allocations: 0 / 0.6999 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.115e-05/0.5195, allocations: 15.92 kB / 0.6999 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001921/0.5197, allocations: 169.5 kB / 0.7 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.762e-05/0.5198, allocations: 46.56 kB / 0.7001 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.326e-05/0.5198, allocations: 24.83 kB / 0.7001 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.5198, allocations: 7.938 kB / 0.7001 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.5199, allocations: 34.56 kB / 0.7001 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.5199, allocations: 0 / 0.7001 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.000745/0.5206, allocations: 381.2 kB / 0.7005 GB, free: 412 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.5207, allocations: 55.39 kB / 0.7006 GB, free: 344 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.815e-05/0.5208, allocations: 93.86 kB / 0.7007 GB, free: 240 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.5208, allocations: 33.7 kB / 0.7007 GB, free: 200 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.642e-05/0.5208, allocations: 80.14 kB / 0.7008 GB, free: 116 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.337e-05/0.5209, allocations: 39.45 kB / 0.7008 GB, free: 76 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.13e-05/0.5209, allocations: 25.72 kB / 0.7008 GB, free: 44 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.5211, allocations: 322.8 kB / 0.7011 GB, free: 15.72 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.602e-05/0.5211, allocations: 16 kB / 0.7011 GB, free: 15.7 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.24e-05/0.5212, allocations: 41.83 kB / 0.7012 GB, free: 15.66 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.826e-05/0.5212, allocations: 65.61 kB / 0.7013 GB, free: 15.59 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.5213, allocations: 0 / 0.7013 GB, free: 15.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000143/0.5214, allocations: 93.59 kB / 0.7013 GB, free: 15.49 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.5214, allocations: 8 kB / 0.7013 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.5214, allocations: 0 / 0.7013 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.5215, allocations: 0 / 0.7013 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.5216, allocations: 31.92 kB / 0.7014 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.5216, allocations: 0 / 0.7014 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.136e-05/0.5216, allocations: 0 / 0.7014 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.5216, allocations: 12 kB / 0.7014 GB, free: 15.44 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 8.863e-05/0.5217, allocations: 121.7 kB / 0.7015 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.453e-05/0.5218, allocations: 0 / 0.7015 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.387e-05/0.5218, allocations: 15.95 kB / 0.7015 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.5218, allocations: 0 / 0.7015 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.5218, allocations: 0 / 0.7015 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.5218, allocations: 3.938 kB / 0.7015 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.522, allocations: 177.6 kB / 0.7017 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-06/0.522, allocations: 0 / 0.7017 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.5221, allocations: 24 kB / 0.7017 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.5221, allocations: 4 kB / 0.7017 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.5221, allocations: 0 / 0.7017 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.5221, allocations: 0 / 0.7017 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.5221, allocations: 0 / 0.7017 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002094/0.5223, allocations: 140.9 kB / 0.7019 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.886e-05/0.5224, allocations: 81.11 kB / 0.7019 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.5225, allocations: 7.969 kB / 0.7019 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.776e-05/0.5226, allocations: 8 kB / 0.7019 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.641e-05/0.5226, allocations: 4 kB / 0.702 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.5226, allocations: 7.984 kB / 0.702 GB, free: 14.76 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.242e-05/0.5226, allocations: 79.22 kB / 0.702 GB, free: 14.68 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5226, allocations: 0 / 0.702 GB, free: 14.68 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002008/0.5228, allocations: 19.94 kB / 0.7021 GB, free: 14.66 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.0001057/0.523, allocations: 103.2 kB / 0.7022 GB, free: 14.55 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001283/0.5231, allocations: 52.02 kB / 0.7022 GB, free: 14.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5231, allocations: 4 kB / 0.7022 GB, free: 14.49 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.891e-05/0.5231, allocations: 27.98 kB / 0.7022 GB, free: 14.46 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.5234, allocations: 4 kB / 0.7022 GB, free: 14.46 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006017/0.524, allocations: 378.7 kB / 0.7026 GB, free: 14.06 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000254/0.5243, allocations: 0.6892 MB / 0.7033 GB, free: 13.34 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.31e-05/0.5243, allocations: 11.44 kB / 0.7033 GB, free: 13.33 MB / 0.545 GB Notification: Performance of SimCode: time 3.5e-07/0.5243, allocations: 0 / 0.7033 GB, free: 13.33 MB / 0.545 GB Notification: Performance of Templates: time 0.002323/0.5266, allocations: 0.8191 MB / 0.7041 GB, free: 12.52 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)