Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.001078/0.001078, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 197.6 kB / 16.53 MB, free: 6.699 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.326/1.326, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9723/0.9723, allocations: 143 MB / 433.4 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 71.88 kB / 0.5142 GB, free: 11.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1734, allocations: 82.02 MB / 0.5943 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002607/0.1761, allocations: 1.282 MB / 0.5955 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4064/0.5825, allocations: 147 MB / 0.7391 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.896e-05/0.5826, allocations: 0 / 0.7391 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.127e-05/0.5826, allocations: 4 kB / 0.7391 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.754e-05/0.5827, allocations: 14.44 kB / 0.7391 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004532/0.5832, allocations: 96.31 kB / 0.7392 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.014e-05/0.5833, allocations: 35.75 kB / 0.7392 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.617e-05/0.5833, allocations: 2.656 kB / 0.7392 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.721e-05/0.5833, allocations: 10.16 kB / 0.7392 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.29e-05/0.5834, allocations: 21.59 kB / 0.7392 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.5834, allocations: 1.469 kB / 0.7392 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002546/0.5837, allocations: 80.02 kB / 0.7393 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.345e-05/0.5837, allocations: 6.641 kB / 0.7393 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.119e-05/0.5837, allocations: 21.23 kB / 0.7393 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001599/0.5839, allocations: 63.31 kB / 0.7394 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.5839, allocations: 1.219 kB / 0.7394 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.303e-06/0.5839, allocations: 0 / 0.7394 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.5839, allocations: 0 / 0.7394 GB, free: 5.531 MB / 0.5606 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.0003627/0.5843, allocations: 348.4 kB / 0.7397 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.5843, allocations: 10.28 kB / 0.7397 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001986/0.5845, allocations: 16.02 kB / 0.7398 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.717e-05/0.5847, allocations: 168.3 kB / 0.7399 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.5847, allocations: 13.36 kB / 0.7399 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.5847, allocations: 12.66 kB / 0.7399 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.5848, allocations: 45.22 kB / 0.74 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.5848, allocations: 1.75 kB / 0.74 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.5849, allocations: 0 / 0.74 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.5849, allocations: 1.188 kB / 0.74 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.737e-05/0.5849, allocations: 21.59 kB / 0.74 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001531/0.5851, allocations: 171.4 kB / 0.7402 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.5852, allocations: 56.38 kB / 0.7402 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.667e-05/0.5852, allocations: 15.89 kB / 0.7402 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/0.5852, allocations: 2.984 kB / 0.7402 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.5853, allocations: 32.06 kB / 0.7403 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.5853, allocations: 0 / 0.7403 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0006945/0.586, allocations: 373.6 kB / 0.7406 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/0.586, allocations: 53.62 kB / 0.7407 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.225e-05/0.5861, allocations: 90.92 kB / 0.7408 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.5861, allocations: 30.83 kB / 0.7408 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.482e-05/0.5862, allocations: 80.14 kB / 0.7409 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.93e-05/0.5862, allocations: 37.33 kB / 0.7409 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.854e-05/0.5863, allocations: 36.89 kB / 0.741 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.905e-05/0.5864, allocations: 322.3 kB / 0.7413 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.793e-05/0.5864, allocations: 20.73 kB / 0.7413 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.407e-05/0.5864, allocations: 34.81 kB / 0.7413 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.327e-05/0.5865, allocations: 57.77 kB / 0.7414 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.5865, allocations: 0 / 0.7414 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001372/0.5867, allocations: 103.1 kB / 0.7415 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.5867, allocations: 11.91 kB / 0.7415 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.5867, allocations: 1.5 kB / 0.7415 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.5867, allocations: 0.875 kB / 0.7415 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.5868, allocations: 20.8 kB / 0.7415 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.5869, allocations: 2.469 kB / 0.7415 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.259e-05/0.5869, allocations: 1.812 kB / 0.7415 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.5869, allocations: 5.625 kB / 0.7415 GB, free: 3.52 MB / 0.5606 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.814e-05/0.587, allocations: 123.2 kB / 0.7416 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.969e-05/0.587, allocations: 11.69 kB / 0.7416 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.337e-05/0.5871, allocations: 7.969 kB / 0.7416 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.5871, allocations: 1.469 kB / 0.7416 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.5871, allocations: 0.5 kB / 0.7416 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.5871, allocations: 1.438 kB / 0.7416 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001221/0.5872, allocations: 174.2 kB / 0.7418 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.5872, allocations: 0.5 kB / 0.7418 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.5873, allocations: 25.83 kB / 0.7418 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.5874, allocations: 0 / 0.7418 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.5874, allocations: 2.219 kB / 0.7418 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.5874, allocations: 2.188 kB / 0.7418 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5874, allocations: 4 kB / 0.7418 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000194/0.5876, allocations: 138.1 kB / 0.742 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.195e-05/0.5877, allocations: 87.44 kB / 0.7421 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.5877, allocations: 2.125 kB / 0.7421 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.5878, allocations: 6.938 kB / 0.7421 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.01e-05/0.5878, allocations: 6.797 kB / 0.7421 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.5878, allocations: 2.406 kB / 0.7421 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.984e-05/0.5879, allocations: 81.38 kB / 0.7422 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5879, allocations: 0 / 0.7422 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002007/0.5881, allocations: 15.69 kB / 0.7422 GB, free: 2.891 MB / 0.5606 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.0001037/0.5882, allocations: 106 kB / 0.7423 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001446/0.5883, allocations: 66.89 kB / 0.7423 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.5883, allocations: 0 / 0.7423 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.818e-05/0.5884, allocations: 29.88 kB / 0.7424 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.5886, allocations: 17.67 kB / 0.7424 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005379/0.5892, allocations: 318.7 kB / 0.7427 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/0.5894, allocations: 0.6855 MB / 0.7434 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.969e-05/0.5895, allocations: 9.672 kB / 0.7434 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.788e-05/0.5895, allocations: 12.06 kB / 0.7434 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.5895, allocations: 1.188 kB / 0.7434 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of Templates: time 0.00263/0.5922, allocations: 0.6321 MB / 0.744 GB, free: 1.637 MB / 0.5606 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)