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.0009742/0.0009742, allocations: 97.52 kB / 15.69 MB, free: 488 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.001026/0.001026, allocations: 178.3 kB / 16.57 MB, free: 6.477 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.324/1.324, allocations: 223.2 MB / 240.5 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6828/0.6828, allocations: 113.8 MB / 405.4 MB, free: 4.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003074/0.0003074, allocations: 9.688 kB / 493 MB, free: 8.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1303, allocations: 77.16 MB / 0.5568 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirDerivativeCheck): time 0.001128/0.1314, allocations: 1.023 MB / 0.5578 GB, free: 10.58 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3813/0.5128, allocations: 125.2 MB / 0.68 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.754e-05/0.5129, allocations: 0 / 0.68 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.477e-05/0.5129, allocations: 3.984 kB / 0.68 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.485e-05/0.513, allocations: 15.92 kB / 0.6801 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007126/0.5137, allocations: 231.3 kB / 0.6803 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.249e-05/0.5138, allocations: 43.94 kB / 0.6803 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.42e-05/0.5139, allocations: 7.984 kB / 0.6803 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.403e-05/0.5139, allocations: 27.92 kB / 0.6804 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.431e-05/0.514, allocations: 27.91 kB / 0.6804 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.514, allocations: 3.938 kB / 0.6804 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000639/0.5147, allocations: 287.4 kB / 0.6807 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.859e-05/0.5147, allocations: 15.98 kB / 0.6807 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.508e-05/0.5148, allocations: 33.64 kB / 0.6807 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002111/0.515, allocations: 106.2 kB / 0.6808 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.515, allocations: 0 / 0.6808 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.904e-06/0.515, allocations: 0 / 0.6808 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.515, allocations: 4 kB / 0.6808 GB, free: 10.89 MB / 0.4981 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.0004113/0.5154, allocations: 371.8 kB / 0.6812 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.5155, allocations: 12.02 kB / 0.6812 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004335/0.5159, allocations: 35.88 kB / 0.6812 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.797e-05/0.516, allocations: 163.1 kB / 0.6814 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.516, allocations: 3.984 kB / 0.6814 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.5161, allocations: 15.95 kB / 0.6814 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.5162, allocations: 84.33 kB / 0.6815 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.5163, allocations: 0.5625 kB / 0.6815 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.5163, allocations: 4 kB / 0.6815 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.5163, allocations: 0 / 0.6815 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.395e-05/0.5164, allocations: 43.95 kB / 0.6815 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001875/0.5166, allocations: 201.4 kB / 0.6817 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/0.5167, allocations: 90.55 kB / 0.6818 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.459e-05/0.5168, allocations: 8.078 kB / 0.6818 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.5168, allocations: 35.39 kB / 0.6818 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.5168, allocations: 4 kB / 0.6818 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of matching and sorting (n=19): time 0.00121/0.518, allocations: 0.5405 MB / 0.6824 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.5181, allocations: 55.34 kB / 0.6824 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.07e-05/0.5182, allocations: 97.84 kB / 0.6825 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.5182, allocations: 37.64 kB / 0.6825 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.645e-05/0.5182, allocations: 80.52 kB / 0.6826 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.593e-05/0.5183, allocations: 67.02 kB / 0.6827 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.945e-06/0.5183, allocations: 4 kB / 0.6827 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.804e-05/0.5184, allocations: 319 kB / 0.683 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.082e-05/0.5184, allocations: 39.97 kB / 0.683 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.818e-05/0.5185, allocations: 68.62 kB / 0.6831 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.401e-05/0.5186, allocations: 40 kB / 0.6831 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.5186, allocations: 0 / 0.6831 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002106/0.5188, allocations: 167.6 kB / 0.6833 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.5189, allocations: 4 kB / 0.6833 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.5189, allocations: 4 kB / 0.6833 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.5189, allocations: 4 kB / 0.6833 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.5191, allocations: 35.98 kB / 0.6833 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.5191, allocations: 0 / 0.6833 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.709e-05/0.5191, allocations: 8 kB / 0.6834 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.5191, allocations: 4 kB / 0.6834 GB, free: 8.027 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.8e-05/0.5192, allocations: 121.8 kB / 0.6835 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.184e-05/0.5193, allocations: 19.83 kB / 0.6835 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.803e-05/0.5193, allocations: 24.44 kB / 0.6835 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.5193, allocations: 0 / 0.6835 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.5193, allocations: 0 / 0.6835 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.5193, allocations: 3.938 kB / 0.6835 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001418/0.5195, allocations: 193.6 kB / 0.6837 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.5195, allocations: 0.875 kB / 0.6837 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001936/0.5197, allocations: 39.92 kB / 0.6837 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.5197, allocations: 0 / 0.6837 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.5197, allocations: 11.95 kB / 0.6838 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.5197, allocations: 3.984 kB / 0.6838 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.5197, allocations: 0 / 0.6838 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002834/0.52, allocations: 203 kB / 0.6839 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.803e-05/0.5201, allocations: 93.06 kB / 0.684 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.5201, allocations: 4 kB / 0.684 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.5203, allocations: 15.94 kB / 0.6841 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.197e-05/0.5203, allocations: 15.92 kB / 0.6841 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.5203, allocations: 8 kB / 0.6841 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.112e-05/0.5204, allocations: 79.28 kB / 0.6842 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5204, allocations: 0 / 0.6842 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002173/0.5206, allocations: 28 kB / 0.6842 GB, free: 7.086 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001223/0.5207, allocations: 99.94 kB / 0.6843 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001792/0.5209, allocations: 106.6 kB / 0.6844 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.5209, allocations: 3.938 kB / 0.6844 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.417e-05/0.521, allocations: 63.86 kB / 0.6844 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00018/0.5212, allocations: 8.094 kB / 0.6845 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007874/0.522, allocations: 0.6205 MB / 0.6851 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000233/0.5222, allocations: 0.7089 MB / 0.6857 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001263/0.5223, allocations: 16.64 kB / 0.6858 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.78e-05/0.5224, allocations: 19.38 kB / 0.6858 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.5224, allocations: 0 / 0.6858 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of Templates: time 0.003334/0.5257, allocations: 1.013 MB / 0.6868 GB, free: 4.375 MB / 0.4981 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)