Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.504/1.504, allocations: 287.4 MB / 302.5 MB, free: 8.188 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009231/0.0009231, allocations: 173.3 kB / 371.1 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.104/1.104, allocations: 205.4 MB / 0.6298 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006664/0.0006664, allocations: 94.3 kB / 0.7431 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003097/0.0003098, allocations: 10.78 kB / 0.8662 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1406, allocations: 115.3 MB / 0.9787 GB, free: 28.12 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.0009008/0.1415, allocations: 0.9899 MB / 0.9797 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.4184/0.5599, allocations: 133.5 MB / 1.11 GB, free: 2.043 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.671e-05/0.5599, allocations: 3.938 kB / 1.11 GB, free: 2.039 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 1.504e-05/0.56, allocations: 1.219 kB / 1.11 GB, free: 2.039 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 6.044e-05/0.56, allocations: 9.938 kB / 1.11 GB, free: 2.035 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002939/0.5603, allocations: 79.97 kB / 1.11 GB, free: 2.016 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 5.714e-05/0.5604, allocations: 32.36 kB / 1.11 GB, free: 2.012 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 3.9e-05/0.5604, allocations: 1.641 kB / 1.11 GB, free: 2.012 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 3.672e-05/0.5605, allocations: 18.12 kB / 1.11 GB, free: 2.008 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 5.068e-05/0.5605, allocations: 10.34 kB / 1.11 GB, free: 2.008 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.5606, allocations: 2.375 kB / 1.11 GB, free: 2.008 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002193/0.5608, allocations: 72.88 kB / 1.11 GB, free: 1.996 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 1.311e-05/0.5608, allocations: 11.47 kB / 1.11 GB, free: 1.992 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 7.667e-05/0.5609, allocations: 29.02 kB / 1.11 GB, free: 17.96 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001035/0.561, allocations: 50.7 kB / 1.11 GB, free: 17.96 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.561, allocations: 0 / 1.11 GB, free: 17.96 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.833e-06/0.561, allocations: 1.812 kB / 1.11 GB, free: 17.96 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.561, allocations: 0 / 1.11 GB, free: 17.96 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003255/0.5614, allocations: 340.7 kB / 1.111 GB, free: 17.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.5614, allocations: 11.8 kB / 1.111 GB, free: 17.6 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.568e-05/0.5615, allocations: 35.91 kB / 1.111 GB, free: 17.56 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001531/0.5616, allocations: 19.83 kB / 1.111 GB, free: 17.55 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.892e-05/0.5617, allocations: 170.7 kB / 1.111 GB, free: 17.35 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.5617, allocations: 5.031 kB / 1.111 GB, free: 17.34 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.5618, allocations: 12.27 kB / 1.111 GB, free: 17.34 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.5619, allocations: 52.42 kB / 1.111 GB, free: 17.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.5619, allocations: 0 / 1.111 GB, free: 17.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.5619, allocations: 1.031 kB / 1.111 GB, free: 17.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.5619, allocations: 1.125 kB / 1.111 GB, free: 17.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.327e-05/0.562, allocations: 16.23 kB / 1.111 GB, free: 17.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000166/0.5621, allocations: 168.9 kB / 1.111 GB, free: 17.11 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.521e-05/0.5622, allocations: 55.72 kB / 1.111 GB, free: 17.08 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.688e-05/0.5623, allocations: 16.62 kB / 1.111 GB, free: 17.07 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.104e-06/0.5623, allocations: 0.9062 kB / 1.111 GB, free: 17.07 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.5623, allocations: 33.3 kB / 1.111 GB, free: 17.04 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.5623, allocations: 0 / 1.111 GB, free: 17.04 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0006436/0.563, allocations: 374.5 kB / 1.112 GB, free: 16.77 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.563, allocations: 59.7 kB / 1.112 GB, free: 16.71 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.246e-05/0.5631, allocations: 92.5 kB / 1.112 GB, free: 16.61 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.5631, allocations: 33.7 kB / 1.112 GB, free: 16.57 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.362e-05/0.5631, allocations: 80.14 kB / 1.112 GB, free: 16.49 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/0.5631, allocations: 38.42 kB / 1.112 GB, free: 16.47 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/0.5631, allocations: 4.125 kB / 1.112 GB, free: 16.46 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.5633, allocations: 321.1 kB / 1.112 GB, free: 16.15 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.292e-05/0.5633, allocations: 19.2 kB / 1.112 GB, free: 16.15 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.159e-05/0.5633, allocations: 32.98 kB / 1.112 GB, free: 16.13 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.325e-05/0.5634, allocations: 57.94 kB / 1.112 GB, free: 16.12 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.5634, allocations: 0.7031 kB / 1.112 GB, free: 16.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000126/0.5636, allocations: 96.34 kB / 1.112 GB, free: 16.08 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.5636, allocations: 9.156 kB / 1.112 GB, free: 16.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.5636, allocations: 1.844 kB / 1.112 GB, free: 16.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.5636, allocations: 1.188 kB / 1.112 GB, free: 16.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.5637, allocations: 20.75 kB / 1.112 GB, free: 16.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.5637, allocations: 5.188 kB / 1.112 GB, free: 16.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.055e-05/0.5638, allocations: 4.984 kB / 1.112 GB, free: 16.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.5638, allocations: 6 kB / 1.112 GB, free: 16.07 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 14 * 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.567e-05/0.5639, allocations: 121.3 kB / 1.113 GB, free: 15.95 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.268e-05/0.5639, allocations: 3.156 kB / 1.113 GB, free: 15.95 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.961e-05/0.5639, allocations: 15.69 kB / 1.113 GB, free: 15.94 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.5639, allocations: 1.641 kB / 1.113 GB, free: 15.94 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/0.5639, allocations: 1.188 kB / 1.113 GB, free: 15.94 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.5639, allocations: 0.6562 kB / 1.113 GB, free: 15.94 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/0.5641, allocations: 175.4 kB / 1.113 GB, free: 15.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.5641, allocations: 1.125 kB / 1.113 GB, free: 15.75 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.5642, allocations: 22.81 kB / 1.113 GB, free: 15.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.5642, allocations: 1.828 kB / 1.113 GB, free: 15.75 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.5642, allocations: 9.25 kB / 1.113 GB, free: 15.74 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.5642, allocations: 0 / 1.113 GB, free: 15.74 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.5642, allocations: 0.5156 kB / 1.113 GB, free: 15.74 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001781/0.5644, allocations: 140.7 kB / 1.113 GB, free: 15.67 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.794e-05/0.5645, allocations: 82.06 kB / 1.113 GB, free: 15.57 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.5645, allocations: 5.438 kB / 1.113 GB, free: 15.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.213e-05/0.5646, allocations: 2.812 kB / 1.113 GB, free: 15.57 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.734e-05/0.5646, allocations: 5.891 kB / 1.113 GB, free: 15.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.5646, allocations: 5.062 kB / 1.113 GB, free: 15.57 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.598e-05/0.5647, allocations: 80.94 kB / 1.113 GB, free: 15.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5647, allocations: 0 / 1.113 GB, free: 15.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001752/0.5649, allocations: 20.34 kB / 1.113 GB, free: 15.49 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * 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 (11): * Single equations (assignments): 11 * 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.0003972/0.5653, allocations: 0.6702 MB / 1.114 GB, free: 14.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001205/0.5654, allocations: 55.05 kB / 1.114 GB, free: 14.89 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.5654, allocations: 5.25 kB / 1.114 GB, free: 14.89 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.866e-05/0.5654, allocations: 27.55 kB / 1.114 GB, free: 14.89 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001811/0.5656, allocations: 10.59 kB / 1.114 GB, free: 14.89 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008617/0.5665, allocations: 0.6727 MB / 1.115 GB, free: 14.39 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/0.5668, allocations: 0.6901 MB / 1.115 GB, free: 13.69 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.797e-05/0.5669, allocations: 6.312 kB / 1.115 GB, free: 13.69 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.559e-05/0.567, allocations: 19.48 kB / 1.115 GB, free: 13.68 MB / 0.698 GB Notification: Performance of SimCode: time 2.9e-07/0.567, allocations: 0 / 1.115 GB, free: 13.68 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2884/0.8554, allocations: 1.417 MB / 1.117 GB, free: 13.54 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001884/0.8556, allocations: 214.8 kB / 1.117 GB, free: 13.29 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.535/2.391, allocations: 9.75 kB / 1.117 GB, free: 13.29 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)