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 2.727/2.727, allocations: 287.3 MB / 302.3 MB, free: 8.312 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.001574/0.001574, allocations: 194.8 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.125/2.125, allocations: 205.4 MB / 0.6295 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.001091/0.00109, allocations: 92.5 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005724/0.0005726, allocations: 15.16 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.217, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001368/0.2184, allocations: 0.9882 MB / 0.9792 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8619/1.08, allocations: 124.3 MB / 1.101 GB, free: 2.051 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.303e-05/1.081, allocations: 1.375 kB / 1.101 GB, free: 2.051 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 1.998e-05/1.081, allocations: 3.281 kB / 1.101 GB, free: 2.051 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 5.551e-05/1.081, allocations: 8.125 kB / 1.101 GB, free: 2.047 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004725/1.081, allocations: 81.05 kB / 1.101 GB, free: 2.039 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 6.423e-05/1.081, allocations: 21.86 kB / 1.101 GB, free: 2.039 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.667e-05/1.081, allocations: 1.375 kB / 1.101 GB, free: 2.039 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.422e-05/1.081, allocations: 21.25 kB / 1.101 GB, free: 2.035 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.661e-05/1.081, allocations: 11.23 kB / 1.101 GB, free: 2.035 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/1.081, allocations: 1.375 kB / 1.101 GB, free: 2.035 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000358/1.082, allocations: 80.34 kB / 1.101 GB, free: 2.031 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 1.767e-05/1.082, allocations: 13.86 kB / 1.101 GB, free: 2.027 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001165/1.082, allocations: 33.83 kB / 1.101 GB, free: 17.99 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001813/1.082, allocations: 41.8 kB / 1.101 GB, free: 17.99 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/1.082, allocations: 0 / 1.101 GB, free: 17.99 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.615e-06/1.082, allocations: 3.125 kB / 1.101 GB, free: 17.99 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.33e-06/1.082, allocations: 0 / 1.101 GB, free: 17.99 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.0004717/1.083, allocations: 342.4 kB / 1.101 GB, free: 17.64 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/1.083, allocations: 12.23 kB / 1.101 GB, free: 17.63 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.61e-05/1.083, allocations: 40.88 kB / 1.101 GB, free: 17.59 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002427/1.083, allocations: 16.64 kB / 1.101 GB, free: 17.59 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/1.083, allocations: 171.4 kB / 1.101 GB, free: 17.38 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/1.083, allocations: 1.375 kB / 1.101 GB, free: 17.38 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.387e-05/1.083, allocations: 10.92 kB / 1.101 GB, free: 17.38 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/1.083, allocations: 58.03 kB / 1.102 GB, free: 17.34 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/1.083, allocations: 0 / 1.102 GB, free: 17.34 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/1.083, allocations: 0 / 1.102 GB, free: 17.34 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/1.083, allocations: 5.328 kB / 1.102 GB, free: 17.34 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.598e-05/1.084, allocations: 15.55 kB / 1.102 GB, free: 17.34 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002438/1.084, allocations: 165.3 kB / 1.102 GB, free: 17.15 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/1.084, allocations: 45.73 kB / 1.102 GB, free: 17.12 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/1.084, allocations: 2.922 kB / 1.102 GB, free: 17.12 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/1.084, allocations: 35.88 kB / 1.102 GB, free: 17.08 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.914e-06/1.084, allocations: 0 / 1.102 GB, free: 17.08 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0009846/1.085, allocations: 377.8 kB / 1.102 GB, free: 16.82 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/1.085, allocations: 52.78 kB / 1.102 GB, free: 16.75 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.906e-05/1.085, allocations: 96.73 kB / 1.102 GB, free: 16.66 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/1.085, allocations: 27.08 kB / 1.102 GB, free: 16.62 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.462e-05/1.085, allocations: 80.14 kB / 1.102 GB, free: 16.54 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.124e-05/1.085, allocations: 43.17 kB / 1.102 GB, free: 16.52 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.123e-06/1.085, allocations: 0 / 1.102 GB, free: 16.52 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001488/1.086, allocations: 317.7 kB / 1.103 GB, free: 16.21 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.435e-05/1.086, allocations: 21.45 kB / 1.103 GB, free: 16.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.523e-05/1.086, allocations: 36.64 kB / 1.103 GB, free: 16.19 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.698e-05/1.086, allocations: 28.34 kB / 1.103 GB, free: 16.18 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/1.086, allocations: 3.938 kB / 1.103 GB, free: 16.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002264/1.086, allocations: 97.91 kB / 1.103 GB, free: 16.14 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/1.086, allocations: 5.5 kB / 1.103 GB, free: 16.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/1.086, allocations: 0 / 1.103 GB, free: 16.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/1.086, allocations: 1.375 kB / 1.103 GB, free: 16.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002163/1.086, allocations: 29.39 kB / 1.103 GB, free: 16.13 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/1.086, allocations: 4 kB / 1.103 GB, free: 16.13 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.628e-05/1.086, allocations: 1.531 kB / 1.103 GB, free: 16.13 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/1.086, allocations: 7.891 kB / 1.103 GB, free: 16.13 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 0.0001173/1.087, allocations: 115.3 kB / 1.103 GB, free: 16.02 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.176e-05/1.087, allocations: 2.844 kB / 1.103 GB, free: 16.02 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.62e-05/1.087, allocations: 10.22 kB / 1.103 GB, free: 16.01 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/1.087, allocations: 1.25 kB / 1.103 GB, free: 16.01 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/1.087, allocations: 5.391 kB / 1.103 GB, free: 16.01 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/1.087, allocations: 7.797 kB / 1.103 GB, free: 16 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001888/1.087, allocations: 172.5 kB / 1.103 GB, free: 15.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/1.087, allocations: 0 / 1.103 GB, free: 15.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002449/1.087, allocations: 23.84 kB / 1.103 GB, free: 15.81 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/1.087, allocations: 1.469 kB / 1.103 GB, free: 15.81 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/1.087, allocations: 0 / 1.103 GB, free: 15.81 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/1.087, allocations: 2.359 kB / 1.103 GB, free: 15.81 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/1.087, allocations: 0 / 1.103 GB, free: 15.81 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003079/1.088, allocations: 133.1 kB / 1.103 GB, free: 15.74 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/1.088, allocations: 90.3 kB / 1.104 GB, free: 15.64 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/1.088, allocations: 3.141 kB / 1.104 GB, free: 15.64 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001775/1.088, allocations: 6.141 kB / 1.104 GB, free: 15.64 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.585e-05/1.088, allocations: 6.438 kB / 1.104 GB, free: 15.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/1.088, allocations: 6.469 kB / 1.104 GB, free: 15.64 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.664e-05/1.088, allocations: 76.28 kB / 1.104 GB, free: 15.57 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.01e-07/1.088, allocations: 0 / 1.104 GB, free: 15.57 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002925/1.088, allocations: 25.09 kB / 1.104 GB, free: 15.56 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.0006274/1.089, allocations: 0.6604 MB / 1.104 GB, free: 14.97 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001976/1.089, allocations: 58.56 kB / 1.104 GB, free: 14.96 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/1.089, allocations: 0 / 1.104 GB, free: 14.96 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.969e-05/1.089, allocations: 30.02 kB / 1.104 GB, free: 14.96 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002232/1.089, allocations: 7.875 kB / 1.104 GB, free: 14.96 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/1.091, allocations: 0.8378 MB / 1.105 GB, free: 14.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/1.091, allocations: 0.688 MB / 1.106 GB, free: 13.61 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001174/1.091, allocations: 11.84 kB / 1.106 GB, free: 13.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.519e-05/1.091, allocations: 15.94 kB / 1.106 GB, free: 13.59 MB / 0.698 GB Notification: Performance of SimCode: time 1.323e-06/1.091, allocations: 0 / 1.106 GB, free: 13.59 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02273/1.114, allocations: 1.422 MB / 1.107 GB, free: 13.45 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000265/1.114, allocations: 207.8 kB / 1.107 GB, free: 13.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.355/3.469, allocations: 1.594 kB / 1.107 GB, free: 13.2 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)