Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.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.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck") translateModel(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005427/0.005427, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001332/0.001332, allocations: 197.1 kB / 16.68 MB, free: 5.926 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.8392/0.8392, allocations: 143 MB / 433.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 68.98 kB / 0.5955 GB, free: 12.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.144, allocations: 82.03 MB / 0.6756 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck): time 0.002221/0.1463, allocations: 1.339 MB / 0.6769 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.5765/0.7228, allocations: 148.1 MB / 0.8215 GB, free: 1.07 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.274e-05/0.7229, allocations: 1.406 kB / 0.8215 GB, free: 1.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 6.124e-05/0.723, allocations: 3.938 kB / 0.8215 GB, free: 1.066 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.000135/0.7232, allocations: 14.03 kB / 0.8215 GB, free: 1.055 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009516/0.7242, allocations: 333 kB / 0.8219 GB, free: 0.8164 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.7243, allocations: 68.23 kB / 0.8219 GB, free: 0.7812 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.28e-05/0.7243, allocations: 2.719 kB / 0.8219 GB, free: 0.7812 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.654e-05/0.7244, allocations: 30.78 kB / 0.822 GB, free: 0.7656 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.7245, allocations: 36.3 kB / 0.822 GB, free: 0.7422 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.7245, allocations: 5.281 kB / 0.822 GB, free: 0.7422 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007652/0.7253, allocations: 407.8 kB / 0.8224 GB, free: 0.5195 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 5.187e-05/0.7254, allocations: 16.53 kB / 0.8224 GB, free: 0.5078 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 4.61e-05/0.7254, allocations: 28.89 kB / 0.8224 GB, free: 0.4922 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002838/0.7257, allocations: 155.2 kB / 0.8226 GB, free: 428 kB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.7257, allocations: 2.094 kB / 0.8226 GB, free: 428 kB / 0.5919 GB Notification: Performance of FrontEnd: time 1.422e-06/0.7257, allocations: 0 / 0.8226 GB, free: 428 kB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.7257, allocations: 0.8438 kB / 0.8226 GB, free: 428 kB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005444/0.7263, allocations: 400.2 kB / 0.823 GB, free: 12 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.7263, allocations: 10.28 kB / 0.823 GB, free: 12 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004091/0.7267, allocations: 34.22 kB / 0.823 GB, free: 0 / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.7269, allocations: 167.2 kB / 0.8232 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.7269, allocations: 6.625 kB / 0.8232 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.71e-05/0.7269, allocations: 17.11 kB / 0.8232 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.7271, allocations: 75.7 kB / 0.8233 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.7271, allocations: 0 / 0.8233 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.7272, allocations: 5.406 kB / 0.8233 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.7272, allocations: 2.406 kB / 0.8233 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.834e-05/0.7273, allocations: 49.31 kB / 0.8233 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002021/0.7275, allocations: 192.3 kB / 0.8235 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.7277, allocations: 91.23 kB / 0.8236 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.997e-05/0.7277, allocations: 32.5 kB / 0.8236 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002409/0.728, allocations: 185.2 kB / 0.8238 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.728, allocations: 33.44 kB / 0.8238 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.728, allocations: 0 / 0.8238 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19): time 0.001293/0.7293, allocations: 0.5467 MB / 0.8244 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.7294, allocations: 58.19 kB / 0.8244 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.498e-05/0.7294, allocations: 95.66 kB / 0.8245 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.7295, allocations: 32.55 kB / 0.8245 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.559e-05/0.7295, allocations: 80.52 kB / 0.8246 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.602e-05/0.7296, allocations: 66.7 kB / 0.8247 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.965e-05/0.7296, allocations: 41.8 kB / 0.8247 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.7297, allocations: 329.9 kB / 0.825 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.826e-05/0.7298, allocations: 32.02 kB / 0.8251 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.081e-05/0.7299, allocations: 69.95 kB / 0.8251 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001593/0.7301, allocations: 121.8 kB / 0.8252 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.7301, allocations: 0 / 0.8252 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002/0.7303, allocations: 159.5 kB / 0.8254 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.7303, allocations: 8.281 kB / 0.8254 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.7303, allocations: 0 / 0.8254 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.7303, allocations: 2.938 kB / 0.8254 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.7305, allocations: 39.42 kB / 0.8254 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.7305, allocations: 4.312 kB / 0.8254 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.842e-05/0.7306, allocations: 3.938 kB / 0.8255 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.7306, allocations: 13.03 kB / 0.8255 GB, free: 13.8 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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.717e-05/0.7307, allocations: 119.5 kB / 0.8256 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.193e-05/0.7307, allocations: 9.875 kB / 0.8256 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.102e-05/0.7308, allocations: 24.38 kB / 0.8256 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.7308, allocations: 2.469 kB / 0.8256 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.7308, allocations: 3.984 kB / 0.8256 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.7308, allocations: 3.938 kB / 0.8256 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.731, allocations: 194.2 kB / 0.8258 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.731, allocations: 1.562 kB / 0.8258 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001918/0.7312, allocations: 39.27 kB / 0.8258 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.7312, allocations: 0 / 0.8258 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.7312, allocations: 6.5 kB / 0.8259 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.7312, allocations: 0 / 0.8259 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.7312, allocations: 0 / 0.8259 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002968/0.7315, allocations: 216.1 kB / 0.8261 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.769e-05/0.7316, allocations: 89.97 kB / 0.8261 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.7316, allocations: 10.56 kB / 0.8262 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.7317, allocations: 2.75 kB / 0.8262 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.215e-05/0.7318, allocations: 14.11 kB / 0.8262 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.7318, allocations: 13.42 kB / 0.8262 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.361e-05/0.7319, allocations: 81.41 kB / 0.8263 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7319, allocations: 0 / 0.8263 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002185/0.7321, allocations: 30.56 kB / 0.8263 GB, free: 13.06 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * 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 (19): * Single equations (assignments): 19 * 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.0001359/0.7322, allocations: 101.9 kB / 0.8264 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001979/0.7324, allocations: 107.8 kB / 0.8265 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.7324, allocations: 2.562 kB / 0.8265 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.746e-05/0.7325, allocations: 60.62 kB / 0.8265 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.7328, allocations: 23.17 kB / 0.8266 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007685/0.7335, allocations: 0.499 MB / 0.8271 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.7338, allocations: 0.6972 MB / 0.8277 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.72e-05/0.734, allocations: 31.3 kB / 0.8278 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.665e-05/0.734, allocations: 14.81 kB / 0.8278 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.734, allocations: 0 / 0.8278 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of Templates: time 0.003818/0.7378, allocations: 1.155 MB / 0.8289 GB, free: 11.16 MB / 0.6075 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe 2>&1)