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.0008319/0.0008321, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008884/0.0008883, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.172/1.172, allocations: 223.3 MB / 240 MB, free: 5.426 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.8674/0.8674, allocations: 143.2 MB / 434.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002565/0.0002565, allocations: 8 kB / 0.5158 GB, free: 11.5 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1274, allocations: 83.42 MB / 0.5972 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001058/0.1285, allocations: 0.9939 MB / 0.5982 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3508/0.4793, allocations: 133.5 MB / 0.7285 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.179e-05/0.4794, allocations: 1.156 kB / 0.7285 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.96e-05/0.4794, allocations: 5.688 kB / 0.7285 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.906e-05/0.4795, allocations: 6.531 kB / 0.7286 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003508/0.4798, allocations: 80.47 kB / 0.7286 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.164e-05/0.4799, allocations: 29.53 kB / 0.7287 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.47e-05/0.48, allocations: 2.906 kB / 0.7287 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.531e-05/0.48, allocations: 9.422 kB / 0.7287 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.585e-05/0.4801, allocations: 21.08 kB / 0.7287 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.4801, allocations: 1.188 kB / 0.7287 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002344/0.4803, allocations: 78.06 kB / 0.7288 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.386e-05/0.4803, allocations: 11.52 kB / 0.7288 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.391e-05/0.4804, allocations: 30.02 kB / 0.7288 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.904e-05/0.4805, allocations: 46.45 kB / 0.7288 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.4805, allocations: 1.062 kB / 0.7288 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of FrontEnd: time 8.11e-07/0.4805, allocations: 0 / 0.7288 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.705e-06/0.4805, allocations: 0 / 0.7288 GB, free: 15.75 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.0003221/0.4808, allocations: 337.8 kB / 0.7292 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.4809, allocations: 9.969 kB / 0.7292 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001674/0.481, allocations: 21.42 kB / 0.7292 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.494e-05/0.4812, allocations: 161.4 kB / 0.7294 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.4812, allocations: 3.297 kB / 0.7294 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/0.4812, allocations: 9.766 kB / 0.7294 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.4813, allocations: 51.48 kB / 0.7294 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.4813, allocations: 0 / 0.7294 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.4813, allocations: 5.062 kB / 0.7294 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.4814, allocations: 1.156 kB / 0.7294 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.076e-05/0.4814, allocations: 14.16 kB / 0.7294 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001572/0.4816, allocations: 175.2 kB / 0.7296 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.721e-05/0.4817, allocations: 51.61 kB / 0.7297 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.602e-05/0.4817, allocations: 16.48 kB / 0.7297 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.4817, allocations: 1.469 kB / 0.7297 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.4817, allocations: 39.72 kB / 0.7297 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.4817, allocations: 0 / 0.7297 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.00063/0.4824, allocations: 376.3 kB / 0.7301 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.4824, allocations: 52.44 kB / 0.7301 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.943e-05/0.4825, allocations: 96.28 kB / 0.7302 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.4825, allocations: 26.77 kB / 0.7302 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.251e-05/0.4825, allocations: 81.33 kB / 0.7303 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.386e-05/0.4826, allocations: 39.62 kB / 0.7303 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.4826, allocations: 4.844 kB / 0.7304 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.958e-05/0.4827, allocations: 322.2 kB / 0.7307 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.219e-05/0.4827, allocations: 17.38 kB / 0.7307 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.457e-05/0.4828, allocations: 36.5 kB / 0.7307 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.215e-05/0.4828, allocations: 24.73 kB / 0.7307 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.4828, allocations: 1.156 kB / 0.7307 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001249/0.4829, allocations: 94.17 kB / 0.7308 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.483, allocations: 5.047 kB / 0.7308 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.758e-06/0.483, allocations: 5.219 kB / 0.7308 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.483, allocations: 1.219 kB / 0.7308 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.4831, allocations: 21.08 kB / 0.7309 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.4831, allocations: 5.484 kB / 0.7309 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.795e-05/0.4831, allocations: 5.156 kB / 0.7309 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.4831, allocations: 4.625 kB / 0.7309 GB, free: 13.79 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.493e-05/0.4832, allocations: 120.5 kB / 0.731 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.267e-05/0.4832, allocations: 3.969 kB / 0.731 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.312e-05/0.4833, allocations: 17.73 kB / 0.731 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.4833, allocations: 1.062 kB / 0.731 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.4833, allocations: 0 / 0.731 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.4833, allocations: 1.844 kB / 0.731 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.4834, allocations: 175 kB / 0.7312 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.4834, allocations: 1.031 kB / 0.7312 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.4835, allocations: 19.98 kB / 0.7312 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.4835, allocations: 2.938 kB / 0.7312 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.353e-06/0.4836, allocations: 0 / 0.7312 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.4836, allocations: 2.078 kB / 0.7312 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4836, allocations: 0 / 0.7312 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001717/0.4838, allocations: 144.3 kB / 0.7313 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.635e-05/0.4838, allocations: 86.83 kB / 0.7314 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.4838, allocations: 6.859 kB / 0.7314 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.771e-05/0.4839, allocations: 3.391 kB / 0.7314 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.829e-05/0.4839, allocations: 5.75 kB / 0.7314 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.484, allocations: 8.047 kB / 0.7314 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.679e-05/0.484, allocations: 80.31 kB / 0.7315 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.484, allocations: 0 / 0.7315 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001822/0.4842, allocations: 16.16 kB / 0.7315 GB, free: 13.16 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.219e-05/0.4843, allocations: 97.97 kB / 0.7316 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001137/0.4844, allocations: 56.77 kB / 0.7317 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.4844, allocations: 0 / 0.7317 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.424e-05/0.4844, allocations: 29.2 kB / 0.7317 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001673/0.4846, allocations: 13.12 kB / 0.7317 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005174/0.4851, allocations: 395.8 kB / 0.7321 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002096/0.4854, allocations: 0.6857 MB / 0.7328 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.174e-05/0.4854, allocations: 10.31 kB / 0.7328 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.494e-05/0.4855, allocations: 12.69 kB / 0.7328 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.4855, allocations: 1.062 kB / 0.7328 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of Templates: time 0.002297/0.4878, allocations: 0.5823 MB / 0.7334 GB, free: 11.99 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)