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.689/1.689, allocations: 288.4 MB / 303.3 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.001323/0.001322, allocations: 184.5 kB / 372 MB, free: 10.27 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.692/1.692, allocations: 205.4 MB / 0.6307 GB, free: 9.988 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.0007854/0.0007853, allocations: 82.36 kB / 0.744 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005616/0.000562, allocations: 10.84 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2559, allocations: 115.3 MB / 0.9796 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001291/0.2573, allocations: 0.9901 MB / 0.9806 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6404/0.8977, allocations: 133.5 MB / 1.111 GB, free: 2.598 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.518e-05/0.8978, allocations: 4 kB / 1.111 GB, free: 2.594 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 2.576e-05/0.8978, allocations: 4.344 kB / 1.111 GB, free: 2.594 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 6.144e-05/0.8979, allocations: 5.25 kB / 1.111 GB, free: 2.59 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003536/0.8982, allocations: 76.97 kB / 1.111 GB, free: 2.574 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 7.771e-05/0.8983, allocations: 34.2 kB / 1.111 GB, free: 2.566 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 6.472e-05/0.8984, allocations: 2.125 kB / 1.111 GB, free: 2.566 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.577e-05/0.8985, allocations: 15.62 kB / 1.111 GB, free: 2.566 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.534e-05/0.8985, allocations: 17.12 kB / 1.111 GB, free: 2.562 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.8986, allocations: 6.531 kB / 1.111 GB, free: 2.559 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002596/0.8988, allocations: 63.11 kB / 1.111 GB, free: 2.551 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 1.761e-05/0.8988, allocations: 11.47 kB / 1.111 GB, free: 2.551 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001512/0.899, allocations: 30.58 kB / 1.111 GB, free: 18.52 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.8991, allocations: 47.09 kB / 1.111 GB, free: 18.52 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.8992, allocations: 0 / 1.111 GB, free: 18.52 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.495e-06/0.8992, allocations: 0 / 1.111 GB, free: 18.52 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.8992, allocations: 1.344 kB / 1.111 GB, free: 18.52 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.0004003/0.8996, allocations: 348.8 kB / 1.112 GB, free: 18.15 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.989e-05/0.8997, allocations: 9.938 kB / 1.112 GB, free: 18.15 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.062e-05/0.8997, allocations: 36.34 kB / 1.112 GB, free: 18.11 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001961/0.8999, allocations: 18.61 kB / 1.112 GB, free: 18.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.664e-05/0.9, allocations: 166.9 kB / 1.112 GB, free: 17.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.9, allocations: 3.812 kB / 1.112 GB, free: 17.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/0.9001, allocations: 6.875 kB / 1.112 GB, free: 17.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.9002, allocations: 47.53 kB / 1.112 GB, free: 17.87 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.9002, allocations: 0 / 1.112 GB, free: 17.87 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.9002, allocations: 9.781 kB / 1.112 GB, free: 17.86 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.9003, allocations: 0 / 1.112 GB, free: 17.86 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.699e-05/0.9003, allocations: 23.06 kB / 1.112 GB, free: 17.86 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001726/0.9005, allocations: 170.8 kB / 1.112 GB, free: 17.67 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.9006, allocations: 46.38 kB / 1.112 GB, free: 17.64 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.396e-05/0.9006, allocations: 16.12 kB / 1.112 GB, free: 17.64 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.756e-06/0.9007, allocations: 0 / 1.112 GB, free: 17.64 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.9007, allocations: 38.95 kB / 1.112 GB, free: 17.59 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 8.61e-07/0.9007, allocations: 0 / 1.112 GB, free: 17.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.00077/0.9015, allocations: 376.2 kB / 1.113 GB, free: 17.33 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.9015, allocations: 54.53 kB / 1.113 GB, free: 17.27 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.991e-05/0.9016, allocations: 92.36 kB / 1.113 GB, free: 17.17 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.9016, allocations: 30.17 kB / 1.113 GB, free: 17.14 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.357e-05/0.9017, allocations: 85.55 kB / 1.113 GB, free: 17.05 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.24e-05/0.9017, allocations: 38.09 kB / 1.113 GB, free: 17.03 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.751e-06/0.9017, allocations: 3.531 kB / 1.113 GB, free: 17.03 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.9019, allocations: 317.5 kB / 1.113 GB, free: 16.71 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.953e-05/0.9019, allocations: 16.91 kB / 1.113 GB, free: 16.71 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.196e-05/0.902, allocations: 35.61 kB / 1.113 GB, free: 16.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.053e-05/0.902, allocations: 24.02 kB / 1.113 GB, free: 16.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.902, allocations: 4 kB / 1.113 GB, free: 16.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001455/0.9022, allocations: 99.52 kB / 1.113 GB, free: 16.66 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.9022, allocations: 5.125 kB / 1.113 GB, free: 16.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.9022, allocations: 1.062 kB / 1.113 GB, free: 16.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.9022, allocations: 1.062 kB / 1.113 GB, free: 16.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.9024, allocations: 21.09 kB / 1.113 GB, free: 16.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.817e-05/0.9024, allocations: 9.438 kB / 1.113 GB, free: 16.65 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.403e-05/0.9024, allocations: 4.469 kB / 1.113 GB, free: 16.65 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.9025, allocations: 6.797 kB / 1.113 GB, free: 16.64 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.0001032/0.9026, allocations: 116 kB / 1.113 GB, free: 16.53 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.51e-05/0.9026, allocations: 4.359 kB / 1.113 GB, free: 16.53 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.796e-05/0.9026, allocations: 15.12 kB / 1.113 GB, free: 16.52 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.9026, allocations: 1.062 kB / 1.113 GB, free: 16.52 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.9026, allocations: 1.344 kB / 1.113 GB, free: 16.52 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.9027, allocations: 5.266 kB / 1.113 GB, free: 16.52 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001313/0.9028, allocations: 167.9 kB / 1.114 GB, free: 16.33 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.9028, allocations: 1.219 kB / 1.114 GB, free: 16.33 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.9029, allocations: 20.8 kB / 1.114 GB, free: 16.33 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.9029, allocations: 5.062 kB / 1.114 GB, free: 16.33 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.903, allocations: 8.188 kB / 1.114 GB, free: 16.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.903, allocations: 0 / 1.114 GB, free: 16.32 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.903, allocations: 1.453 kB / 1.114 GB, free: 16.32 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002037/0.9032, allocations: 139.7 kB / 1.114 GB, free: 16.25 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.238e-05/0.9033, allocations: 85.64 kB / 1.114 GB, free: 16.16 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.9033, allocations: 1.219 kB / 1.114 GB, free: 16.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.738e-05/0.9034, allocations: 6.844 kB / 1.114 GB, free: 16.16 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.968e-05/0.9034, allocations: 6.422 kB / 1.114 GB, free: 16.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.9034, allocations: 6.75 kB / 1.114 GB, free: 16.15 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.976e-05/0.9035, allocations: 76.62 kB / 1.114 GB, free: 16.08 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9035, allocations: 0 / 1.114 GB, free: 16.08 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001834/0.9037, allocations: 17.88 kB / 1.114 GB, free: 16.08 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.0004728/0.9041, allocations: 0.6777 MB / 1.115 GB, free: 15.48 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001363/0.9043, allocations: 58.31 kB / 1.115 GB, free: 15.47 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.9043, allocations: 1.094 kB / 1.115 GB, free: 15.47 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.202e-05/0.9043, allocations: 32.06 kB / 1.115 GB, free: 15.46 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002132/0.9046, allocations: 7.969 kB / 1.115 GB, free: 15.46 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.9056, allocations: 0.6693 MB / 1.115 GB, free: 14.96 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.9059, allocations: 0.6909 MB / 1.116 GB, free: 14.27 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.459e-05/0.906, allocations: 12.56 kB / 1.116 GB, free: 14.26 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.783e-05/0.906, allocations: 22.33 kB / 1.116 GB, free: 14.25 MB / 0.698 GB Notification: Performance of SimCode: time 2.4e-07/0.906, allocations: 0 / 1.116 GB, free: 14.25 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01279/0.9188, allocations: 1.44 MB / 1.117 GB, free: 14.09 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001997/0.9191, allocations: 215.8 kB / 1.118 GB, free: 13.86 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.589/2.508, allocations: 0 / 1.118 GB, free: 13.86 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)