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.001221/0.001221, allocations: 104.8 kB / 16.4 MB, free: 6.504 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.001186/0.001186, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.27/1.27, allocations: 222.9 MB / 241 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.6899/0.6899, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001096, allocations: 64.33 kB / 0.5577 GB, free: 32.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1377, allocations: 76.18 MB / 0.6321 GB, free: 4.445 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002136/0.1399, allocations: 1.264 MB / 0.6333 GB, free: 3.172 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.4713/0.6113, allocations: 147 MB / 0.7768 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.95e-05/0.6114, allocations: 0.625 kB / 0.7768 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 3.092e-05/0.6115, allocations: 6.469 kB / 0.7768 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 4.721e-05/0.6115, allocations: 2.797 kB / 0.7768 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004148/0.6119, allocations: 95.05 kB / 0.7769 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.299e-05/0.612, allocations: 39.05 kB / 0.777 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.157e-05/0.6121, allocations: 6.188 kB / 0.777 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.376e-05/0.6121, allocations: 15.12 kB / 0.777 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 5.887e-05/0.6122, allocations: 13.94 kB / 0.777 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.301e-05/0.6122, allocations: 2.188 kB / 0.777 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002385/0.6124, allocations: 76.22 kB / 0.7771 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.577e-05/0.6125, allocations: 12.05 kB / 0.7771 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.032e-05/0.6125, allocations: 18.02 kB / 0.7771 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.6127, allocations: 65.09 kB / 0.7772 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.6127, allocations: 1.125 kB / 0.7772 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6127, allocations: 0 / 0.7772 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.6127, allocations: 0 / 0.7772 GB, free: 14.39 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.000413/0.6131, allocations: 348.6 kB / 0.7775 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.6132, allocations: 9.875 kB / 0.7775 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001809/0.6134, allocations: 16.75 kB / 0.7775 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.6135, allocations: 169.6 kB / 0.7777 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.6135, allocations: 9.953 kB / 0.7777 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.934e-05/0.6135, allocations: 9.562 kB / 0.7777 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.6137, allocations: 48.12 kB / 0.7778 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.6137, allocations: 0 / 0.7778 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.6137, allocations: 8.719 kB / 0.7778 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.6137, allocations: 0.5312 kB / 0.7778 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.773e-05/0.6138, allocations: 13.92 kB / 0.7778 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000172/0.614, allocations: 166.3 kB / 0.7779 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 9.853e-05/0.6141, allocations: 62.31 kB / 0.778 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.179e-05/0.6141, allocations: 15.64 kB / 0.778 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.636e-06/0.6141, allocations: 0.5625 kB / 0.778 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.6142, allocations: 37.38 kB / 0.778 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.6142, allocations: 1.203 kB / 0.7781 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.0007614/0.6149, allocations: 371.6 kB / 0.7784 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.615, allocations: 56.94 kB / 0.7785 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.857e-05/0.615, allocations: 93.56 kB / 0.7785 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.6151, allocations: 29.52 kB / 0.7786 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 7.023e-05/0.6151, allocations: 82.11 kB / 0.7787 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.682e-05/0.6152, allocations: 37.41 kB / 0.7787 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.976e-05/0.6152, allocations: 27.27 kB / 0.7787 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.6154, allocations: 325.8 kB / 0.779 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.563e-05/0.6154, allocations: 20.97 kB / 0.779 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.08e-05/0.6155, allocations: 35.36 kB / 0.7791 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001099/0.6156, allocations: 57.39 kB / 0.7791 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.6156, allocations: 0.6562 kB / 0.7791 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001652/0.6158, allocations: 99.72 kB / 0.7792 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.6158, allocations: 6.938 kB / 0.7792 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.6158, allocations: 1.766 kB / 0.7792 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.6158, allocations: 7.516 kB / 0.7792 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.616, allocations: 24.44 kB / 0.7793 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.616, allocations: 1.094 kB / 0.7793 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.342e-05/0.616, allocations: 4.312 kB / 0.7793 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.616, allocations: 3.281 kB / 0.7793 GB, free: 12.53 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 8.147e-05/0.6161, allocations: 119.3 kB / 0.7794 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.889e-05/0.6161, allocations: 5.875 kB / 0.7794 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.544e-05/0.6162, allocations: 8.281 kB / 0.7794 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.6162, allocations: 1.156 kB / 0.7794 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.6162, allocations: 4.594 kB / 0.7794 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.6162, allocations: 1.094 kB / 0.7794 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.6163, allocations: 176.3 kB / 0.7796 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.6163, allocations: 0 / 0.7796 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.6165, allocations: 26.33 kB / 0.7796 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.6165, allocations: 1.562 kB / 0.7796 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.6165, allocations: 4.719 kB / 0.7796 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.6165, allocations: 0.5 kB / 0.7796 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.6165, allocations: 1.562 kB / 0.7796 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001963/0.6167, allocations: 140.6 kB / 0.7797 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.243e-05/0.6168, allocations: 89.3 kB / 0.7798 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.6168, allocations: 2.094 kB / 0.7798 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.84e-05/0.6169, allocations: 4.156 kB / 0.7798 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.228e-05/0.6169, allocations: 10.23 kB / 0.7798 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.6169, allocations: 2.5 kB / 0.7799 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.118e-05/0.617, allocations: 76.78 kB / 0.7799 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.41e-07/0.617, allocations: 0 / 0.7799 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000185/0.6172, allocations: 19.91 kB / 0.7799 GB, free: 11.96 MB / 0.5919 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 9.549e-05/0.6173, allocations: 109.6 kB / 0.78 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000119/0.6174, allocations: 51.34 kB / 0.7801 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.6174, allocations: 1.438 kB / 0.7801 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.722e-05/0.6175, allocations: 28.25 kB / 0.7801 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.6177, allocations: 14.64 kB / 0.7801 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005134/0.6182, allocations: 328.2 kB / 0.7805 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.6185, allocations: 0.691 MB / 0.7811 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.903e-05/0.6185, allocations: 8.641 kB / 0.7811 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.578e-05/0.6186, allocations: 12.56 kB / 0.7811 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of SimCode: time 2.91e-07/0.6186, allocations: 0 / 0.7811 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of Templates: time 0.00281/0.6214, allocations: 0.6447 MB / 0.7818 GB, free: 10.83 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)