Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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 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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1901/0.1908, allocations: 82.21 MB / 0.5941 GB, free: 5.605 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001502/0.1924, allocations: 0.9998 MB / 0.5951 GB, free: 4.594 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5755/0.7679, allocations: 143.1 MB / 0.7349 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.139e-05/0.768, allocations: 0 / 0.7349 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.98e-05/0.768, allocations: 0 / 0.7349 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.609e-05/0.7681, allocations: 10.69 kB / 0.7349 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000397/0.7685, allocations: 86.5 kB / 0.735 GB, free: 15.36 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.651e-05/0.7686, allocations: 33.58 kB / 0.735 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.304e-05/0.7687, allocations: 2.875 kB / 0.735 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.715e-05/0.7687, allocations: 18.77 kB / 0.735 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.115e-05/0.7688, allocations: 14.17 kB / 0.735 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.7688, allocations: 1.969 kB / 0.735 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002655/0.7691, allocations: 72.12 kB / 0.7351 GB, free: 15.34 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.792e-05/0.7691, allocations: 9.016 kB / 0.7351 GB, free: 15.34 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.363e-05/0.7692, allocations: 42.03 kB / 0.7352 GB, free: 15.31 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001733/0.7694, allocations: 65.14 kB / 0.7352 GB, free: 15.3 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.7694, allocations: 4 kB / 0.7352 GB, free: 15.3 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.844e-06/0.7694, allocations: 0 / 0.7352 GB, free: 15.3 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.7694, allocations: 1.438 kB / 0.7352 GB, free: 15.3 MB / 0.545 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.0004239/0.7698, allocations: 343.3 kB / 0.7355 GB, free: 14.94 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.002e-05/0.7699, allocations: 9.344 kB / 0.7356 GB, free: 14.94 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000239/0.7701, allocations: 14.81 kB / 0.7356 GB, free: 14.94 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.7703, allocations: 167.8 kB / 0.7357 GB, free: 14.74 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.7703, allocations: 6 kB / 0.7357 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.374e-05/0.7703, allocations: 11.72 kB / 0.7357 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.7705, allocations: 51.94 kB / 0.7358 GB, free: 14.7 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.7705, allocations: 0 / 0.7358 GB, free: 14.7 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.7705, allocations: 1.5 kB / 0.7358 GB, free: 14.7 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.7705, allocations: 0 / 0.7358 GB, free: 14.7 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.553e-05/0.7706, allocations: 18.02 kB / 0.7358 GB, free: 14.7 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001876/0.7708, allocations: 163.8 kB / 0.736 GB, free: 14.51 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.7709, allocations: 54.41 kB / 0.736 GB, free: 14.48 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.652e-05/0.7709, allocations: 22.08 kB / 0.736 GB, free: 14.46 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.7709, allocations: 4.625 kB / 0.736 GB, free: 14.46 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.771, allocations: 34.28 kB / 0.7361 GB, free: 14.42 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.771, allocations: 0 / 0.7361 GB, free: 14.42 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0007943/0.7718, allocations: 376.2 kB / 0.7364 GB, free: 14.16 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.7718, allocations: 55.91 kB / 0.7365 GB, free: 14.1 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.947e-05/0.7719, allocations: 92.33 kB / 0.7366 GB, free: 14 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.772, allocations: 30.58 kB / 0.7366 GB, free: 13.97 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.79e-05/0.772, allocations: 80.14 kB / 0.7367 GB, free: 13.89 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.507e-05/0.7721, allocations: 36.09 kB / 0.7367 GB, free: 13.86 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.169e-05/0.7721, allocations: 19.75 kB / 0.7367 GB, free: 13.85 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.7722, allocations: 322.7 kB / 0.737 GB, free: 13.53 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.691e-05/0.7723, allocations: 16.3 kB / 0.7371 GB, free: 13.53 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.175e-05/0.7723, allocations: 37.89 kB / 0.7371 GB, free: 13.51 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.7724, allocations: 65.31 kB / 0.7372 GB, free: 13.49 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.7724, allocations: 0 / 0.7372 GB, free: 13.49 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001484/0.7726, allocations: 103.8 kB / 0.7373 GB, free: 13.45 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.7726, allocations: 5.219 kB / 0.7373 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.7726, allocations: 0 / 0.7373 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.7727, allocations: 2.094 kB / 0.7373 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.7728, allocations: 24.02 kB / 0.7373 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.7728, allocations: 1.25 kB / 0.7373 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.46e-05/0.7729, allocations: 9.531 kB / 0.7373 GB, free: 13.44 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.7729, allocations: 2.594 kB / 0.7373 GB, free: 13.44 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.072e-05/0.773, allocations: 121.1 kB / 0.7374 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.418e-05/0.773, allocations: 3.156 kB / 0.7374 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.682e-05/0.773, allocations: 14.36 kB / 0.7374 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.773, allocations: 2.031 kB / 0.7374 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.7731, allocations: 0 / 0.7374 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.7731, allocations: 0.6562 kB / 0.7374 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.7732, allocations: 177.4 kB / 0.7376 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.7732, allocations: 0 / 0.7376 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/0.7734, allocations: 21.17 kB / 0.7376 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.7734, allocations: 0 / 0.7376 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.7734, allocations: 6.125 kB / 0.7376 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.7734, allocations: 1.406 kB / 0.7376 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.7734, allocations: 1.859 kB / 0.7376 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002397/0.7737, allocations: 142.7 kB / 0.7378 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.921e-05/0.7737, allocations: 90.64 kB / 0.7379 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.7738, allocations: 6.969 kB / 0.7379 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.279e-05/0.7739, allocations: 2.219 kB / 0.7379 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.297e-05/0.7739, allocations: 5.547 kB / 0.7379 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.7739, allocations: 5.812 kB / 0.7379 GB, free: 12.93 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.722e-05/0.774, allocations: 77.06 kB / 0.738 GB, free: 12.86 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.433e-06/0.774, allocations: 0 / 0.738 GB, free: 12.86 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002/0.7742, allocations: 17.72 kB / 0.738 GB, free: 12.86 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001144/0.7743, allocations: 109.8 kB / 0.7381 GB, free: 12.76 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001459/0.7744, allocations: 55.72 kB / 0.7381 GB, free: 12.76 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.7744, allocations: 0 / 0.7381 GB, free: 12.76 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.895e-05/0.7745, allocations: 31.45 kB / 0.7382 GB, free: 12.75 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.7747, allocations: 10.56 kB / 0.7382 GB, free: 12.75 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006606/0.7754, allocations: 381.7 kB / 0.7385 GB, free: 12.48 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.7757, allocations: 0.6919 MB / 0.7392 GB, free: 11.78 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.57e-05/0.7757, allocations: 10.05 kB / 0.7392 GB, free: 11.78 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.227e-05/0.7758, allocations: 17.28 kB / 0.7392 GB, free: 11.77 MB / 0.545 GB Notification: Performance of SimCode: time 3.51e-07/0.7758, allocations: 0 / 0.7392 GB, free: 11.77 MB / 0.545 GB Notification: Performance of Templates: time 0.003152/0.7789, allocations: 0.6088 MB / 0.7398 GB, free: 11.73 MB / 0.545 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: