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.001606/0.001606, allocations: 100.1 kB / 15.88 MB, free: 12 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.00205/0.00205, allocations: 196.2 kB / 16.79 MB, free: 6.809 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.339/1.339, allocations: 222.9 MB / 240.5 MB, free: 4.598 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.9507/0.9507, allocations: 143 MB / 433.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 59.91 kB / 0.5141 GB, free: 12.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1547, allocations: 82.03 MB / 0.5942 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck): time 0.002843/0.1575, allocations: 1.403 MB / 0.5956 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4327/0.5903, allocations: 145.8 MB / 0.738 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.496e-05/0.5904, allocations: 0 / 0.738 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.301e-05/0.5904, allocations: 7.281 kB / 0.738 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.621e-05/0.5905, allocations: 15.73 kB / 0.738 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008441/0.5914, allocations: 300.3 kB / 0.7383 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.804e-05/0.5915, allocations: 86.3 kB / 0.7384 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.607e-05/0.5915, allocations: 2.75 kB / 0.7384 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.025e-05/0.5916, allocations: 31.73 kB / 0.7384 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.366e-05/0.5917, allocations: 33.12 kB / 0.7384 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.5917, allocations: 6.75 kB / 0.7385 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008853/0.5926, allocations: 497.8 kB / 0.7389 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.13e-05/0.5927, allocations: 16.83 kB / 0.7389 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.435e-05/0.5927, allocations: 34.38 kB / 0.739 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002123/0.5929, allocations: 110.4 kB / 0.7391 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.5929, allocations: 0 / 0.7391 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.81e-07/0.5929, allocations: 3.938 kB / 0.7391 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.593, allocations: 1.656 kB / 0.7391 GB, free: 6.344 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004585/0.5934, allocations: 392.5 kB / 0.7395 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.5935, allocations: 9.375 kB / 0.7395 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004037/0.5939, allocations: 33.06 kB / 0.7395 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.594, allocations: 178.9 kB / 0.7397 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.594, allocations: 6.438 kB / 0.7397 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.259e-05/0.594, allocations: 12.14 kB / 0.7397 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.5942, allocations: 73.86 kB / 0.7398 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.5942, allocations: 1.375 kB / 0.7398 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.5942, allocations: 7.609 kB / 0.7398 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.5943, allocations: 1.344 kB / 0.7398 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.313e-05/0.5944, allocations: 53.25 kB / 0.7398 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001913/0.5946, allocations: 183.2 kB / 0.74 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.5947, allocations: 90.39 kB / 0.7401 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.262e-05/0.5948, allocations: 32.52 kB / 0.7401 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002229/0.595, allocations: 179.2 kB / 0.7403 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.5951, allocations: 36.91 kB / 0.7403 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 2.645e-06/0.5951, allocations: 0 / 0.7403 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.001282/0.5964, allocations: 0.542 MB / 0.7408 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.5964, allocations: 56.83 kB / 0.7409 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.315e-05/0.5965, allocations: 96.58 kB / 0.741 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.5965, allocations: 31.67 kB / 0.741 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.857e-05/0.5965, allocations: 81.45 kB / 0.7411 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.626e-05/0.5966, allocations: 69.62 kB / 0.7412 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-05/0.5967, allocations: 47.42 kB / 0.7412 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.403e-05/0.5968, allocations: 319.8 kB / 0.7415 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.429e-05/0.5968, allocations: 39.2 kB / 0.7416 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.572e-05/0.5969, allocations: 73.95 kB / 0.7416 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.5971, allocations: 109.9 kB / 0.7417 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.5971, allocations: 0 / 0.7417 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000225/0.5973, allocations: 169.5 kB / 0.7419 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.5974, allocations: 6.344 kB / 0.7419 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.5974, allocations: 0 / 0.7419 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.5974, allocations: 3.188 kB / 0.7419 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/0.5976, allocations: 37.94 kB / 0.7419 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.5976, allocations: 3.641 kB / 0.7419 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.79e-05/0.5976, allocations: 14.56 kB / 0.742 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.5977, allocations: 5.375 kB / 0.742 GB, free: 3.914 MB / 0.5606 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 9.623e-05/0.5978, allocations: 118.7 kB / 0.7421 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.179e-05/0.5978, allocations: 12.25 kB / 0.7421 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.894e-05/0.5978, allocations: 19.31 kB / 0.7421 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.5979, allocations: 4.438 kB / 0.7421 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.5979, allocations: 0 / 0.7421 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.5979, allocations: 10.03 kB / 0.7421 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.598, allocations: 192.2 kB / 0.7423 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.598, allocations: 1.812 kB / 0.7423 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001947/0.5982, allocations: 35.61 kB / 0.7423 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.5983, allocations: 1.094 kB / 0.7423 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.5983, allocations: 5.156 kB / 0.7423 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.5983, allocations: 5.094 kB / 0.7423 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5983, allocations: 3.625 kB / 0.7423 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003133/0.5986, allocations: 209.8 kB / 0.7426 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.294e-05/0.5987, allocations: 95.86 kB / 0.7426 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.5987, allocations: 2.062 kB / 0.7426 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.5988, allocations: 8.547 kB / 0.7427 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.585e-05/0.5989, allocations: 10.45 kB / 0.7427 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.5989, allocations: 16.91 kB / 0.7427 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.045e-05/0.5989, allocations: 76.62 kB / 0.7428 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5989, allocations: 0 / 0.7428 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002263/0.5992, allocations: 26.31 kB / 0.7428 GB, free: 3.238 MB / 0.5606 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.000139/0.5993, allocations: 109.5 kB / 0.7429 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002048/0.5995, allocations: 110.7 kB / 0.743 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5995, allocations: 4.094 kB / 0.743 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.519e-05/0.5996, allocations: 60.73 kB / 0.743 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.5999, allocations: 13.67 kB / 0.7431 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008424/0.6008, allocations: 0.5629 MB / 0.7436 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002228/0.601, allocations: 0.7025 MB / 0.7443 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.084e-05/0.601, allocations: 17.44 kB / 0.7443 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.6011, allocations: 0 / 0.7443 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of Templates: time 0.002775/0.6038, allocations: 1.295 MB / 0.7456 GB, free: 1.41 MB / 0.5606 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)