Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck") translateModel(IBPSA.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.0008215/0.0008217, allocations: 98.81 kB / 16.02 MB, free: 80 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.001432/0.001432, allocations: 185.5 kB / 16.92 MB, free: 6.754 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.388/1.388, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7097/0.7097, allocations: 115.4 MB / 407.5 MB, free: 2.824 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003646/0.0003646, allocations: 8 kB / 495.7 MB, free: 6.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1681, allocations: 77.51 MB / 0.5598 GB, free: 9.164 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirDerivativeCheck): time 0.001492/0.1696, allocations: 1.051 MB / 0.5608 GB, free: 8.102 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.5413/0.711, allocations: 144.2 MB / 0.7017 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.361e-05/0.7111, allocations: 0 / 0.7017 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.802e-05/0.7111, allocations: 5.109 kB / 0.7017 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001303/0.7113, allocations: 19.91 kB / 0.7017 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.7124, allocations: 297.4 kB / 0.702 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001237/0.7125, allocations: 83.73 kB / 0.7021 GB, free: 5.379 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.821e-05/0.7125, allocations: 4 kB / 0.7021 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.279e-05/0.7126, allocations: 31.91 kB / 0.7021 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.7127, allocations: 35.83 kB / 0.7021 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.7127, allocations: 8 kB / 0.7021 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009392/0.7137, allocations: 490.7 kB / 0.7026 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.167e-05/0.7137, allocations: 23.95 kB / 0.7026 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.481e-05/0.7138, allocations: 53.56 kB / 0.7027 GB, free: 4.738 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004241/0.7142, allocations: 181.5 kB / 0.7028 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.7143, allocations: 7.938 kB / 0.7029 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.333e-06/0.7143, allocations: 0 / 0.7029 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.7143, allocations: 0 / 0.7029 GB, free: 4.555 MB / 0.5137 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.0004728/0.7147, allocations: 379.9 kB / 0.7032 GB, free: 4.137 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.7148, allocations: 12.03 kB / 0.7032 GB, free: 4.125 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004396/0.7152, allocations: 32.89 kB / 0.7033 GB, free: 4.094 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.7154, allocations: 164.6 kB / 0.7034 GB, free: 3.895 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.7154, allocations: 11.94 kB / 0.7034 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.681e-05/0.7154, allocations: 15.84 kB / 0.7034 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.7156, allocations: 73.66 kB / 0.7035 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.7156, allocations: 0 / 0.7035 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.7157, allocations: 8 kB / 0.7035 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.7157, allocations: 0 / 0.7035 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.531e-05/0.7158, allocations: 47.95 kB / 0.7036 GB, free: 3.734 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002258/0.716, allocations: 185.6 kB / 0.7037 GB, free: 3.504 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001824/0.7162, allocations: 98.61 kB / 0.7038 GB, free: 3.398 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.373e-05/0.7162, allocations: 34.81 kB / 0.7039 GB, free: 3.363 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002263/0.7165, allocations: 178.2 kB / 0.704 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.7165, allocations: 34.56 kB / 0.7041 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=12): time 1.293e-06/0.7165, allocations: 0 / 0.7041 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of matching and sorting (n=19): time 0.001299/0.7178, allocations: 0.5528 MB / 0.7046 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.7179, allocations: 51.41 kB / 0.7047 GB, free: 2.445 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.694e-05/0.7179, allocations: 93.86 kB / 0.7048 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/0.718, allocations: 33.7 kB / 0.7048 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.863e-05/0.718, allocations: 80.52 kB / 0.7049 GB, free: 2.223 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.042e-05/0.7181, allocations: 71 kB / 0.7049 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.384e-05/0.7181, allocations: 25.84 kB / 0.705 GB, free: 2.121 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.7182, allocations: 322.8 kB / 0.7053 GB, free: 1.797 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.496e-05/0.7183, allocations: 35.98 kB / 0.7053 GB, free: 1.762 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.819e-05/0.7184, allocations: 71.39 kB / 0.7054 GB, free: 1.68 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001745/0.7186, allocations: 112.1 kB / 0.7055 GB, free: 1.559 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.7186, allocations: 4 kB / 0.7055 GB, free: 1.555 MB / 0.5137 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002295/0.7188, allocations: 161.5 kB / 0.7056 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.7188, allocations: 4 kB / 0.7056 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.7189, allocations: 0 / 0.7056 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.7189, allocations: 4 kB / 0.7056 GB, free: 1.383 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.7191, allocations: 39.92 kB / 0.7057 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.7191, allocations: 0 / 0.7057 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.191e-05/0.7191, allocations: 12.81 kB / 0.7057 GB, free: 1.332 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.7191, allocations: 4 kB / 0.7057 GB, free: 1.328 MB / 0.5137 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.121e-05/0.7192, allocations: 126.4 kB / 0.7058 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.157e-05/0.7193, allocations: 11.91 kB / 0.7058 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.655e-05/0.7193, allocations: 24.36 kB / 0.7058 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.7193, allocations: 4 kB / 0.7059 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.7194, allocations: 0 / 0.7059 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.7194, allocations: 3.938 kB / 0.7059 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.7195, allocations: 197.6 kB / 0.706 GB, free: 0.918 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.7195, allocations: 3.938 kB / 0.706 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001995/0.7197, allocations: 39.92 kB / 0.7061 GB, free: 0.875 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.7198, allocations: 0 / 0.7061 GB, free: 0.875 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.7198, allocations: 4 kB / 0.7061 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.7198, allocations: 8 kB / 0.7061 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.7198, allocations: 0 / 0.7061 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003172/0.7201, allocations: 214.2 kB / 0.7063 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.147e-05/0.7202, allocations: 97.05 kB / 0.7064 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.7202, allocations: 4 kB / 0.7064 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.7204, allocations: 11.98 kB / 0.7064 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.279e-05/0.7204, allocations: 7.984 kB / 0.7064 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.7204, allocations: 11.94 kB / 0.7064 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.438e-05/0.7204, allocations: 83.28 kB / 0.7065 GB, free: 420 kB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7205, allocations: 0 / 0.7065 GB, free: 420 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002274/0.7207, allocations: 24 kB / 0.7065 GB, free: 396 kB / 0.5137 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.0001209/0.7208, allocations: 107.2 kB / 0.7066 GB, free: 276 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002019/0.721, allocations: 99.89 kB / 0.7067 GB, free: 176 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.721, allocations: 4.094 kB / 0.7067 GB, free: 172 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.559e-05/0.7211, allocations: 59.91 kB / 0.7068 GB, free: 112 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.7214, allocations: 10.03 kB / 0.7068 GB, free: 104 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008545/0.7222, allocations: 0.6243 MB / 0.7074 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/0.7225, allocations: 0.7011 MB / 0.7081 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001414/0.7226, allocations: 24.62 kB / 0.7081 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.881e-05/0.7227, allocations: 15.44 kB / 0.7081 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of SimCode: time 1.503e-06/0.7227, allocations: 4 kB / 0.7081 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of Templates: time 0.003506/0.7262, allocations: 1.059 MB / 0.7092 GB, free: 13.63 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe 2>&1)