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.001215/0.001215, allocations: 108.6 kB / 16.41 MB, free: 6.48 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.001159/0.001159, allocations: 191.9 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.419/1.419, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8069/0.8069, allocations: 126.1 MB / 417.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 65.62 kB / 0.5731 GB, free: 27.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.1782, allocations: 78.7 MB / 0.6499 GB, free: 4.105 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirDerivativeCheck): time 0.002349/0.1806, allocations: 1.328 MB / 0.6512 GB, free: 2.766 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.6271/0.8078, allocations: 148.1 MB / 0.7958 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.581e-05/0.8079, allocations: 1.031 kB / 0.7958 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 4.105e-05/0.8079, allocations: 9.859 kB / 0.7958 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0001039/0.8081, allocations: 15.64 kB / 0.7958 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001247/0.8093, allocations: 321.2 kB / 0.7961 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001276/0.8095, allocations: 71.41 kB / 0.7962 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.8e-05/0.8095, allocations: 9.172 kB / 0.7962 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 5.028e-05/0.8096, allocations: 27.72 kB / 0.7962 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 9.32e-05/0.8097, allocations: 35.84 kB / 0.7963 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.8097, allocations: 3.312 kB / 0.7963 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001024/0.8107, allocations: 410.2 kB / 0.7967 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 5.816e-05/0.8108, allocations: 10.23 kB / 0.7967 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 5.612e-05/0.8109, allocations: 31.14 kB / 0.7967 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003772/0.8112, allocations: 162.7 kB / 0.7969 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.8113, allocations: 3.938 kB / 0.7969 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.733e-06/0.8113, allocations: 4 kB / 0.7969 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.8113, allocations: 0 / 0.7969 GB, free: 12.71 MB / 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.0005294/0.8118, allocations: 389.1 kB / 0.7973 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.8119, allocations: 9.969 kB / 0.7973 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004225/0.8123, allocations: 37.94 kB / 0.7973 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.8124, allocations: 165.5 kB / 0.7975 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.8124, allocations: 10.75 kB / 0.7975 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.279e-05/0.8125, allocations: 12.84 kB / 0.7975 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.8127, allocations: 80.67 kB / 0.7976 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.8127, allocations: 0 / 0.7976 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.8127, allocations: 5.344 kB / 0.7976 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.8127, allocations: 5.234 kB / 0.7976 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.404e-05/0.8128, allocations: 46.97 kB / 0.7976 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001917/0.813, allocations: 183.8 kB / 0.7978 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/0.8132, allocations: 99.36 kB / 0.7979 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.836e-05/0.8133, allocations: 32.98 kB / 0.7979 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002274/0.8135, allocations: 176.7 kB / 0.7981 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.8136, allocations: 34.95 kB / 0.7981 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.8136, allocations: 0 / 0.7981 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19): time 0.00129/0.8149, allocations: 0.554 MB / 0.7987 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.8149, allocations: 53.72 kB / 0.7987 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.709e-05/0.815, allocations: 99.25 kB / 0.7988 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.918e-05/0.815, allocations: 34.61 kB / 0.7988 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.951e-05/0.8151, allocations: 84.52 kB / 0.7989 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.948e-05/0.8151, allocations: 72.53 kB / 0.799 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.355e-05/0.8152, allocations: 39.62 kB / 0.799 GB, free: 11 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.8153, allocations: 326.4 kB / 0.7993 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.787e-05/0.8154, allocations: 32.78 kB / 0.7994 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.775e-05/0.8155, allocations: 67.92 kB / 0.7994 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.8156, allocations: 123.4 kB / 0.7995 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.8156, allocations: 0 / 0.7995 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001929/0.8158, allocations: 157 kB / 0.7997 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.8158, allocations: 7.031 kB / 0.7997 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.8158, allocations: 0 / 0.7997 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.8159, allocations: 2.5 kB / 0.7997 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.816, allocations: 39.62 kB / 0.7997 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.816, allocations: 9.828 kB / 0.7998 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.65e-05/0.8161, allocations: 7.062 kB / 0.7998 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.8161, allocations: 9.031 kB / 0.7998 GB, free: 10.55 MB / 0.5919 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.194e-05/0.8162, allocations: 129.1 kB / 0.7999 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.988e-05/0.8162, allocations: 10.14 kB / 0.7999 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.484e-05/0.8163, allocations: 16.89 kB / 0.7999 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.8163, allocations: 2.844 kB / 0.7999 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.8163, allocations: 0 / 0.7999 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.8163, allocations: 3.938 kB / 0.7999 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.8165, allocations: 192.3 kB / 0.8001 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.8165, allocations: 0 / 0.8001 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001764/0.8167, allocations: 44.06 kB / 0.8001 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.8167, allocations: 0 / 0.8001 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.8167, allocations: 2.344 kB / 0.8001 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.8167, allocations: 3.938 kB / 0.8002 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.8167, allocations: 2.781 kB / 0.8002 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002855/0.817, allocations: 208.9 kB / 0.8004 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.28e-05/0.8171, allocations: 91.42 kB / 0.8004 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.8171, allocations: 4.344 kB / 0.8004 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.8172, allocations: 14.48 kB / 0.8005 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.41e-05/0.8173, allocations: 9.719 kB / 0.8005 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.8173, allocations: 12.12 kB / 0.8005 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.064e-05/0.8173, allocations: 76.34 kB / 0.8006 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8173, allocations: 0 / 0.8006 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002179/0.8175, allocations: 28.78 kB / 0.8006 GB, free: 9.977 MB / 0.5919 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.0001396/0.8177, allocations: 115.2 kB / 0.8007 GB, free: 9.875 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002074/0.8179, allocations: 111 kB / 0.8008 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.8179, allocations: 0 / 0.8008 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 7.367e-05/0.818, allocations: 51.89 kB / 0.8008 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.8182, allocations: 15.11 kB / 0.8009 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007629/0.819, allocations: 0.5108 MB / 0.8014 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.8193, allocations: 0.705 MB / 0.802 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001125/0.8194, allocations: 35.02 kB / 0.8021 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.784e-05/0.8195, allocations: 20.44 kB / 0.8021 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of SimCode: time 2.21e-07/0.8195, allocations: 0 / 0.8021 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of Templates: time 0.003406/0.8229, allocations: 1.126 MB / 0.8032 GB, free: 8.668 MB / 0.5919 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)