Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.375/1.375, allocations: 288.4 MB / 303.6 MB, free: 8.164 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.000882/0.000882, allocations: 185.6 kB / 372.3 MB, free: 10.1 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.118/1.118, allocations: 205.4 MB / 0.631 GB, free: 9.777 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.0006665/0.0006665, allocations: 98.28 kB / 0.7444 GB, free: 5.676 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003081/0.0003081, allocations: 16.31 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1396, allocations: 115.3 MB / 0.9802 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.0009278/0.1406, allocations: 0.994 MB / 0.9812 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.4128/0.5534, allocations: 133.5 MB / 1.111 GB, free: 2.742 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.013e-05/0.5535, allocations: 1.859 kB / 1.111 GB, free: 2.742 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 1.697e-05/0.5535, allocations: 1.359 kB / 1.111 GB, free: 2.742 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 4.228e-05/0.5536, allocations: 10.28 kB / 1.112 GB, free: 2.738 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002675/0.5538, allocations: 77.06 kB / 1.112 GB, free: 2.723 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 5.08e-05/0.5539, allocations: 27.53 kB / 1.112 GB, free: 2.715 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.292e-05/0.5539, allocations: 7.312 kB / 1.112 GB, free: 2.715 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 3.126e-05/0.554, allocations: 12.45 kB / 1.112 GB, free: 2.715 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 5.077e-05/0.554, allocations: 23.14 kB / 1.112 GB, free: 2.707 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.034e-05/0.554, allocations: 2.312 kB / 1.112 GB, free: 2.707 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001955/0.5542, allocations: 65.97 kB / 1.112 GB, free: 2.695 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 1.302e-05/0.5543, allocations: 10.19 kB / 1.112 GB, free: 2.695 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 9.951e-05/0.5544, allocations: 40.11 kB / 1.112 GB, free: 18.66 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.5545, allocations: 46.84 kB / 1.112 GB, free: 18.66 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.5545, allocations: 1.062 kB / 1.112 GB, free: 18.66 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.325e-06/0.5545, allocations: 0 / 1.112 GB, free: 18.66 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.5545, allocations: 0.75 kB / 1.112 GB, free: 18.66 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.0003187/0.5548, allocations: 345.2 kB / 1.112 GB, free: 18.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.5549, allocations: 10.03 kB / 1.112 GB, free: 18.3 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.717e-05/0.5549, allocations: 35.97 kB / 1.112 GB, free: 18.26 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001563/0.5551, allocations: 15.83 kB / 1.112 GB, free: 18.25 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.46e-05/0.5552, allocations: 168.6 kB / 1.112 GB, free: 18.05 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.5552, allocations: 5.5 kB / 1.112 GB, free: 18.05 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.024e-05/0.5552, allocations: 6.438 kB / 1.112 GB, free: 18.05 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.5553, allocations: 56.53 kB / 1.112 GB, free: 18.01 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.5553, allocations: 4 kB / 1.112 GB, free: 18.01 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.5553, allocations: 4.594 kB / 1.112 GB, free: 18.01 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.5553, allocations: 1.094 kB / 1.112 GB, free: 18.01 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.987e-05/0.5554, allocations: 14.22 kB / 1.112 GB, free: 18.01 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001199/0.5555, allocations: 167.8 kB / 1.113 GB, free: 17.82 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.827e-05/0.5556, allocations: 51.88 kB / 1.113 GB, free: 17.79 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.275e-05/0.5556, allocations: 16 kB / 1.113 GB, free: 17.78 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.869e-06/0.5556, allocations: 0 / 1.113 GB, free: 17.78 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.69e-05/0.5557, allocations: 36.61 kB / 1.113 GB, free: 17.74 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 7.41e-07/0.5557, allocations: 1.5 kB / 1.113 GB, free: 17.74 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0005811/0.5563, allocations: 373.7 kB / 1.113 GB, free: 17.48 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.5563, allocations: 54.42 kB / 1.113 GB, free: 17.41 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.357e-05/0.5563, allocations: 95.92 kB / 1.113 GB, free: 17.31 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.5564, allocations: 30.69 kB / 1.113 GB, free: 17.28 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.54e-05/0.5564, allocations: 82 kB / 1.113 GB, free: 17.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.773e-05/0.5564, allocations: 37.25 kB / 1.113 GB, free: 17.18 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-06/0.5564, allocations: 2.875 kB / 1.113 GB, free: 17.18 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.947e-05/0.5565, allocations: 318.5 kB / 1.114 GB, free: 16.86 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.165e-05/0.5566, allocations: 19.59 kB / 1.114 GB, free: 16.86 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.887e-05/0.5566, allocations: 38.95 kB / 1.114 GB, free: 16.84 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.077e-05/0.5567, allocations: 62.55 kB / 1.114 GB, free: 16.82 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.5567, allocations: 0 / 1.114 GB, free: 16.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001234/0.5568, allocations: 100.8 kB / 1.114 GB, free: 16.78 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.5568, allocations: 5.844 kB / 1.114 GB, free: 16.78 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.5568, allocations: 0 / 1.114 GB, free: 16.78 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.5569, allocations: 2.641 kB / 1.114 GB, free: 16.78 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.557, allocations: 21.84 kB / 1.114 GB, free: 16.78 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.557, allocations: 1.094 kB / 1.114 GB, free: 16.78 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.951e-05/0.557, allocations: 5.609 kB / 1.114 GB, free: 16.78 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.557, allocations: 4.25 kB / 1.114 GB, free: 16.78 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 6.134e-05/0.5571, allocations: 124.9 kB / 1.114 GB, free: 16.65 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.176e-05/0.5571, allocations: 5.484 kB / 1.114 GB, free: 16.65 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.559e-05/0.5571, allocations: 10.47 kB / 1.114 GB, free: 16.65 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.5571, allocations: 1.312 kB / 1.114 GB, free: 16.65 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.5571, allocations: 2.078 kB / 1.114 GB, free: 16.65 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.5572, allocations: 0.75 kB / 1.114 GB, free: 16.65 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.827e-05/0.5572, allocations: 174.7 kB / 1.114 GB, free: 16.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.5573, allocations: 2.125 kB / 1.114 GB, free: 16.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.5574, allocations: 20.36 kB / 1.114 GB, free: 16.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.5574, allocations: 5.25 kB / 1.114 GB, free: 16.45 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.5574, allocations: 4.125 kB / 1.114 GB, free: 16.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.5574, allocations: 3.938 kB / 1.114 GB, free: 16.45 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.5574, allocations: 1.312 kB / 1.114 GB, free: 16.45 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001607/0.5576, allocations: 138.1 kB / 1.114 GB, free: 16.38 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.044e-05/0.5576, allocations: 83.17 kB / 1.114 GB, free: 16.28 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.5576, allocations: 3.797 kB / 1.114 GB, free: 16.28 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.819e-05/0.5577, allocations: 6.469 kB / 1.114 GB, free: 16.28 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.511e-05/0.5577, allocations: 9.094 kB / 1.114 GB, free: 16.28 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.5578, allocations: 4.203 kB / 1.114 GB, free: 16.28 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.516e-05/0.5578, allocations: 76.59 kB / 1.115 GB, free: 16.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5578, allocations: 0 / 1.115 GB, free: 16.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001703/0.558, allocations: 19.12 kB / 1.115 GB, free: 16.2 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.0003363/0.5583, allocations: 0.6752 MB / 1.115 GB, free: 15.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001025/0.5584, allocations: 53.75 kB / 1.115 GB, free: 15.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5584, allocations: 0 / 1.115 GB, free: 15.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.138e-05/0.5585, allocations: 29.69 kB / 1.115 GB, free: 15.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001675/0.5586, allocations: 8.484 kB / 1.115 GB, free: 15.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007/0.5593, allocations: 0.6773 MB / 1.116 GB, free: 15.09 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001801/0.5595, allocations: 0.6853 MB / 1.117 GB, free: 14.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.213e-05/0.5596, allocations: 14.66 kB / 1.117 GB, free: 14.39 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.275e-05/0.5596, allocations: 16.17 kB / 1.117 GB, free: 14.38 MB / 0.698 GB Notification: Performance of SimCode: time 6.81e-07/0.5597, allocations: 0 / 1.117 GB, free: 14.38 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2314/0.791, allocations: 1.441 MB / 1.118 GB, free: 14.22 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001384/0.7912, allocations: 218.7 kB / 1.118 GB, free: 13.98 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.575/2.366, allocations: 0 / 1.118 GB, free: 13.98 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)