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.001737/0.001737, allocations: 109.6 kB / 16.41 MB, free: 6.484 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.001799/0.001799, allocations: 183 kB / 17.34 MB, free: 5.75 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.49/1.49, allocations: 222.9 MB / 241 MB, free: 15.16 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 1.026/1.026, allocations: 143.1 MB / 434.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 63.83 kB / 0.5962 GB, free: 12.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1696, allocations: 82.02 MB / 0.6763 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck): time 0.002518/0.1721, allocations: 1.341 MB / 0.6776 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.5202/0.6923, allocations: 148.5 MB / 0.8226 GB, free: 0.75 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.807e-05/0.6923, allocations: 0 / 0.8226 GB, free: 0.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 4.607e-05/0.6924, allocations: 11.3 kB / 0.8226 GB, free: 0.7422 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 9.342e-05/0.6924, allocations: 10.39 kB / 0.8226 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009789/0.6934, allocations: 349.2 kB / 0.823 GB, free: 492 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.6935, allocations: 62.7 kB / 0.823 GB, free: 460 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.33e-05/0.6936, allocations: 8.578 kB / 0.823 GB, free: 456 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.203e-05/0.6936, allocations: 26.73 kB / 0.8231 GB, free: 444 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 9.025e-05/0.6937, allocations: 28.81 kB / 0.8231 GB, free: 428 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.109e-05/0.6937, allocations: 6.062 kB / 0.8231 GB, free: 424 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007724/0.6945, allocations: 414.2 kB / 0.8235 GB, free: 192 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 5.473e-05/0.6945, allocations: 20.91 kB / 0.8235 GB, free: 176 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 4.716e-05/0.6946, allocations: 28.53 kB / 0.8235 GB, free: 160 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003129/0.6949, allocations: 157.1 kB / 0.8237 GB, free: 84 kB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.6949, allocations: 0 / 0.8237 GB, free: 84 kB / 0.5919 GB Notification: Performance of FrontEnd: time 1.222e-06/0.6949, allocations: 0 / 0.8237 GB, free: 84 kB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.79e-06/0.6949, allocations: 0 / 0.8237 GB, free: 84 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.0005177/0.6954, allocations: 396 kB / 0.8241 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.6955, allocations: 10.44 kB / 0.8241 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004186/0.6959, allocations: 40.56 kB / 0.8241 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.696, allocations: 171.3 kB / 0.8243 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.696, allocations: 10.66 kB / 0.8243 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.098e-05/0.6961, allocations: 8.391 kB / 0.8243 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.6963, allocations: 78.44 kB / 0.8244 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.6963, allocations: 1.938 kB / 0.8244 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.6963, allocations: 8 kB / 0.8244 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.6963, allocations: 2.906 kB / 0.8244 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.744e-05/0.6964, allocations: 45.86 kB / 0.8244 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002395/0.6966, allocations: 184.4 kB / 0.8246 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.6968, allocations: 82.77 kB / 0.8247 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.309e-05/0.6969, allocations: 32.62 kB / 0.8247 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000256/0.6971, allocations: 179.1 kB / 0.8249 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/0.6972, allocations: 40.67 kB / 0.8249 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 1.312e-06/0.6972, allocations: 0 / 0.8249 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19): time 0.001382/0.6985, allocations: 0.5558 MB / 0.8255 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.6986, allocations: 55.69 kB / 0.8255 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.493e-05/0.6987, allocations: 100.8 kB / 0.8256 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.6987, allocations: 25.7 kB / 0.8256 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.201e-05/0.6987, allocations: 84.52 kB / 0.8257 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.389e-05/0.6988, allocations: 67.2 kB / 0.8258 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.94e-05/0.6989, allocations: 45.61 kB / 0.8258 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.699, allocations: 326.7 kB / 0.8261 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.008e-05/0.6991, allocations: 33.23 kB / 0.8262 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.389e-05/0.6992, allocations: 71.39 kB / 0.8262 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.6993, allocations: 123.7 kB / 0.8264 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.6993, allocations: 0 / 0.8264 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002292/0.6996, allocations: 162 kB / 0.8265 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.6996, allocations: 4.719 kB / 0.8265 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.6996, allocations: 2.656 kB / 0.8265 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.6996, allocations: 0 / 0.8265 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.6998, allocations: 37.08 kB / 0.8266 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.6998, allocations: 2.188 kB / 0.8266 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.816e-05/0.6998, allocations: 10.12 kB / 0.8266 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.6998, allocations: 5.688 kB / 0.8266 GB, free: 13.46 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 0.0001015/0.6999, allocations: 122.3 kB / 0.8267 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.136e-05/0.7, allocations: 13.52 kB / 0.8267 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.955e-05/0.7, allocations: 16.44 kB / 0.8267 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.7, allocations: 2.438 kB / 0.8267 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.7, allocations: 4.859 kB / 0.8267 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.7, allocations: 6.531 kB / 0.8267 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.7002, allocations: 187.6 kB / 0.8269 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.7002, allocations: 0 / 0.8269 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001914/0.7004, allocations: 43.7 kB / 0.8269 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.7004, allocations: 0 / 0.8269 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.7004, allocations: 3.344 kB / 0.827 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.7004, allocations: 4 kB / 0.827 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.7004, allocations: 0 / 0.827 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003136/0.7007, allocations: 210.2 kB / 0.8272 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.558e-05/0.7008, allocations: 90.58 kB / 0.8272 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.7009, allocations: 7.75 kB / 0.8272 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.701, allocations: 10.56 kB / 0.8273 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.59e-05/0.701, allocations: 9.766 kB / 0.8273 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.701, allocations: 16.92 kB / 0.8273 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.746e-05/0.7011, allocations: 79.28 kB / 0.8274 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.7011, allocations: 2.469 kB / 0.8274 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002235/0.7013, allocations: 25 kB / 0.8274 GB, free: 12.73 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.0001502/0.7014, allocations: 110.1 kB / 0.8275 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002124/0.7017, allocations: 106.4 kB / 0.8276 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.7017, allocations: 4.094 kB / 0.8276 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.511e-05/0.7017, allocations: 55.62 kB / 0.8277 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.702, allocations: 15.81 kB / 0.8277 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008612/0.7029, allocations: 0.5406 MB / 0.8282 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.7032, allocations: 0.7055 MB / 0.8289 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.087e-05/0.7032, allocations: 15.44 kB / 0.8289 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of SimCode: time 4.41e-07/0.7032, allocations: 2.094 kB / 0.8289 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of Templates: time 0.003106/0.7064, allocations: 1.308 MB / 0.8302 GB, free: 10.7 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)