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.001126/0.001126, allocations: 90.36 kB / 15.36 MB, free: 0.7383 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.01025/0.01025, allocations: 170.7 kB / 16.26 MB, free: 6.613 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.465/1.465, allocations: 223.3 MB / 240.3 MB, free: 5.352 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 1.004/1.004, allocations: 143.2 MB / 434.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003521/0.0003522, allocations: 8 kB / 0.5164 GB, free: 11.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1795/0.1799, allocations: 83.4 MB / 0.5978 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck): time 0.001702/0.1816, allocations: 1.064 MB / 0.5989 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5269/0.7085, allocations: 144.2 MB / 0.7397 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.605e-05/0.7086, allocations: 0 / 0.7397 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.387e-05/0.7087, allocations: 1.969 kB / 0.7397 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001169/0.7088, allocations: 13.3 kB / 0.7397 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009614/0.7098, allocations: 301.5 kB / 0.74 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.7099, allocations: 86.72 kB / 0.7401 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.275e-05/0.71, allocations: 3.594 kB / 0.7401 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.294e-05/0.71, allocations: 29.59 kB / 0.7401 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.7101, allocations: 36.75 kB / 0.7402 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.7102, allocations: 3.5 kB / 0.7402 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00102/0.7112, allocations: 0.4948 MB / 0.7407 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.609e-05/0.7113, allocations: 16.2 kB / 0.7407 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.481e-05/0.7114, allocations: 53.55 kB / 0.7407 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003957/0.7118, allocations: 186.5 kB / 0.7409 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.7118, allocations: 1.188 kB / 0.7409 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.502e-06/0.7118, allocations: 0 / 0.7409 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.7118, allocations: 0 / 0.7409 GB, free: 5.707 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.0005213/0.7123, allocations: 373.2 kB / 0.7413 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.7124, allocations: 13.62 kB / 0.7413 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004497/0.7128, allocations: 38.2 kB / 0.7413 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.713, allocations: 166.8 kB / 0.7415 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.713, allocations: 8 kB / 0.7415 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.615e-05/0.7131, allocations: 10.56 kB / 0.7415 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002097/0.7133, allocations: 79.31 kB / 0.7416 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.7133, allocations: 0.6562 kB / 0.7416 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.971e-05/0.7133, allocations: 6.375 kB / 0.7416 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.7133, allocations: 2.531 kB / 0.7416 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.7134, allocations: 45.38 kB / 0.7416 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002229/0.7137, allocations: 192.7 kB / 0.7418 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.7139, allocations: 93.45 kB / 0.7419 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.965e-05/0.7139, allocations: 33.73 kB / 0.7419 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002437/0.7142, allocations: 181.6 kB / 0.7421 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.7142, allocations: 36.36 kB / 0.7421 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.7142, allocations: 0 / 0.7421 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.001321/0.7156, allocations: 0.5418 MB / 0.7427 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.7156, allocations: 62.42 kB / 0.7427 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.313e-05/0.7157, allocations: 94.52 kB / 0.7428 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.7157, allocations: 32.89 kB / 0.7428 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.552e-05/0.7157, allocations: 80.52 kB / 0.7429 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.91e-05/0.7158, allocations: 73.33 kB / 0.743 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.816e-05/0.7159, allocations: 23.81 kB / 0.743 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.716, allocations: 323.3 kB / 0.7433 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.768e-05/0.7161, allocations: 37.56 kB / 0.7434 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.7162, allocations: 73.48 kB / 0.7434 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001839/0.7164, allocations: 115.7 kB / 0.7435 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.7164, allocations: 1.469 kB / 0.7435 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002437/0.7166, allocations: 157.5 kB / 0.7437 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.7167, allocations: 5.469 kB / 0.7437 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.7167, allocations: 5 kB / 0.7437 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.7167, allocations: 2.406 kB / 0.7437 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/0.7169, allocations: 39.27 kB / 0.7437 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.7169, allocations: 4.922 kB / 0.7437 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.777e-05/0.717, allocations: 10.78 kB / 0.7438 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.717, allocations: 5.094 kB / 0.7438 GB, free: 3.293 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 0.0001104/0.7171, allocations: 122.8 kB / 0.7439 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.72e-05/0.7171, allocations: 5.219 kB / 0.7439 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.981e-05/0.7172, allocations: 21.92 kB / 0.7439 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.7172, allocations: 7.344 kB / 0.7439 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.7172, allocations: 0 / 0.7439 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.7172, allocations: 5.297 kB / 0.7439 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001872/0.7174, allocations: 190.1 kB / 0.7441 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.7174, allocations: 1.312 kB / 0.7441 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001972/0.7176, allocations: 43.64 kB / 0.7441 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.7176, allocations: 1.125 kB / 0.7441 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.7177, allocations: 3.5 kB / 0.7441 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.7177, allocations: 1.094 kB / 0.7441 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.7177, allocations: 0 / 0.7441 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003163/0.718, allocations: 219.1 kB / 0.7444 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.074e-05/0.7181, allocations: 85.86 kB / 0.7444 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.7181, allocations: 5.75 kB / 0.7444 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.7182, allocations: 12.91 kB / 0.7444 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.831e-05/0.7183, allocations: 10.41 kB / 0.7445 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.7183, allocations: 12.03 kB / 0.7445 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.437e-05/0.7183, allocations: 82.98 kB / 0.7446 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7183, allocations: 0 / 0.7446 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002197/0.7186, allocations: 25.41 kB / 0.7446 GB, free: 2.617 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.0001565/0.7187, allocations: 107.6 kB / 0.7447 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002209/0.719, allocations: 109.5 kB / 0.7448 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.719, allocations: 1.5 kB / 0.7448 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.037e-05/0.7191, allocations: 52.34 kB / 0.7448 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002417/0.7193, allocations: 20.89 kB / 0.7449 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008807/0.7202, allocations: 0.6248 MB / 0.7455 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002722/0.7205, allocations: 0.7091 MB / 0.7462 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001211/0.7206, allocations: 24.45 kB / 0.7462 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.974e-05/0.7207, allocations: 15.5 kB / 0.7462 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of SimCode: time 4.61e-07/0.7207, allocations: 0 / 0.7462 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of Templates: time 0.003546/0.7242, allocations: 1.064 MB / 0.7472 GB, free: 1.148 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)