Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Media.Examples.AirTestImplementation.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.Examples.AirTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.AirTestImplementation") translateModel(Buildings.Media.Examples.AirTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.AirTestImplementation") [/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.1823/0.1831, allocations: 82.22 MB / 0.5933 GB, free: 6.004 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTestImplementation): time 0.5752/0.7583, allocations: 138.4 MB / 0.7286 GB, free: 4 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002809/0.7612, allocations: 2.12 MB / 0.7306 GB, free: 15.84 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003419/0.7615, allocations: 6.906 kB / 0.7306 GB, free: 15.83 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007524/0.7623, allocations: 197.6 kB / 0.7308 GB, free: 15.8 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0008733/0.7632, allocations: 285.5 kB / 0.7311 GB, free: 15.79 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007823/0.764, allocations: 268.6 kB / 0.7313 GB, free: 15.78 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007873/0.7648, allocations: 0.5506 MB / 0.7319 GB, free: 15.76 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000235/0.765, allocations: 98.41 kB / 0.732 GB, free: 15.73 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001304/0.7663, allocations: 0.518 MB / 0.7325 GB, free: 15.66 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003802/0.7667, allocations: 226.1 kB / 0.7327 GB, free: 15.63 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.383e-05/0.7668, allocations: 21.16 kB / 0.7327 GB, free: 15.63 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001747/0.767, allocations: 31.58 kB / 0.7327 GB, free: 15.63 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002464/0.7672, allocations: 171 kB / 0.7329 GB, free: 15.62 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001764/0.7674, allocations: 121.2 kB / 0.733 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007255/0.7682, allocations: 0.5134 MB / 0.7335 GB, free: 15.54 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.7682, allocations: 4 kB / 0.7335 GB, free: 15.54 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.466e-06/0.7682, allocations: 0 / 0.7335 GB, free: 15.54 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.748e-06/0.7682, allocations: 1.859 kB / 0.7335 GB, free: 15.54 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001331/0.7695, allocations: 0.6302 MB / 0.7342 GB, free: 15.07 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.7696, allocations: 8.906 kB / 0.7342 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003636/0.77, allocations: 55.62 kB / 0.7342 GB, free: 15.05 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005575/0.7705, allocations: 322 kB / 0.7345 GB, free: 14.82 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.396e-05/0.7706, allocations: 29.72 kB / 0.7345 GB, free: 14.82 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/0.7707, allocations: 45.48 kB / 0.7346 GB, free: 14.81 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008346/0.7716, allocations: 392.8 kB / 0.735 GB, free: 14.76 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.7716, allocations: 0.7188 kB / 0.735 GB, free: 14.76 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.341e-05/0.7716, allocations: 22.09 kB / 0.735 GB, free: 14.76 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/0.7717, allocations: 8.406 kB / 0.735 GB, free: 14.76 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005468/0.7722, allocations: 347.1 kB / 0.7353 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00236/0.7746, allocations: 1.561 MB / 0.7369 GB, free: 13.89 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004771/0.7751, allocations: 285 kB / 0.7371 GB, free: 13.86 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.498e-05/0.7751, allocations: 4.875 kB / 0.7371 GB, free: 13.86 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/0.7752, allocations: 51.7 kB / 0.7372 GB, free: 13.81 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 1.553e-06/0.7752, allocations: 0 / 0.7372 GB, free: 13.81 MB / 0.545 GB Notification: Performance of matching and sorting (n=39): time 0.003504/0.7787, allocations: 1.432 MB / 0.7386 GB, free: 13.26 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.332e-05/0.7788, allocations: 57.62 kB / 0.7386 GB, free: 13.2 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004012/0.7792, allocations: 312.8 kB / 0.7389 GB, free: 13.09 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.79e-05/0.7793, allocations: 35.61 kB / 0.739 GB, free: 13.06 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/0.7794, allocations: 193.5 kB / 0.7391 GB, free: 12.93 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.7795, allocations: 132.1 kB / 0.7393 GB, free: 12.85 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.076e-05/0.7796, allocations: 11.84 kB / 0.7393 GB, free: 12.85 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0003007/0.7799, allocations: 345.3 kB / 0.7396 GB, free: 12.53 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002683/0.7801, allocations: 139.7 kB / 0.7397 GB, free: 12.53 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002888/0.7804, allocations: 192.6 kB / 0.7399 GB, free: 12.49 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002795/0.7807, allocations: 165.6 kB / 0.7401 GB, free: 12.49 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.7807, allocations: 6.156 kB / 0.7401 GB, free: 12.49 MB / 0.545 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000691/0.7814, allocations: 468.5 kB / 0.7405 GB, free: 12.38 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.7815, allocations: 8.719 kB / 0.7405 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.7815, allocations: 0 / 0.7405 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001486/0.7816, allocations: 48 kB / 0.7406 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004013/0.7821, allocations: 90.81 kB / 0.7407 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002354/0.7844, allocations: 2.645 MB / 0.7433 GB, free: 9.742 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002991/0.7847, allocations: 42.5 kB / 0.7433 GB, free: 9.723 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.7848, allocations: 10.03 kB / 0.7433 GB, free: 9.723 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (48): * Single equations (assignments): 46 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002208/0.785, allocations: 184.2 kB / 0.7435 GB, free: 9.594 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.297e-05/0.7851, allocations: 37.25 kB / 0.7435 GB, free: 9.578 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.985e-05/0.7852, allocations: 51.84 kB / 0.7436 GB, free: 9.566 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.7852, allocations: 7.219 kB / 0.7436 GB, free: 9.562 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/0.7852, allocations: 0 / 0.7436 GB, free: 9.562 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006039/0.7858, allocations: 0.5764 MB / 0.7441 GB, free: 9.176 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001539/0.7874, allocations: 1.051 MB / 0.7452 GB, free: 8.641 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.7874, allocations: 3.062 kB / 0.7452 GB, free: 8.641 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004513/0.7878, allocations: 99.25 kB / 0.7453 GB, free: 8.617 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.7879, allocations: 3.875 kB / 0.7453 GB, free: 8.617 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.884e-05/0.7879, allocations: 8.531 kB / 0.7453 GB, free: 8.617 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.82e-06/0.7879, allocations: 6.297 kB / 0.7453 GB, free: 8.613 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.7879, allocations: 2.75 kB / 0.7453 GB, free: 8.613 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009723/0.7889, allocations: 0.7458 MB / 0.746 GB, free: 8.246 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002235/0.7891, allocations: 158.3 kB / 0.7462 GB, free: 8.121 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.496e-05/0.7892, allocations: 10.22 kB / 0.7462 GB, free: 8.121 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000396/0.7896, allocations: 41.17 kB / 0.7462 GB, free: 8.102 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.599e-05/0.7897, allocations: 30.92 kB / 0.7462 GB, free: 8.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.945e-05/0.7897, allocations: 20.33 kB / 0.7463 GB, free: 8.086 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002544/0.79, allocations: 224.7 kB / 0.7465 GB, free: 7.98 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.79, allocations: 0 / 0.7465 GB, free: 7.98 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000453/0.7904, allocations: 124.5 kB / 0.7466 GB, free: 7.98 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (volume.medium.Xi[1],volume.medium.T,volume.m) * 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 (39): * Single equations (assignments): 39 * 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.0001538/0.7906, allocations: 118.3 kB / 0.7467 GB, free: 7.883 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008041/0.7914, allocations: 0.5635 MB / 0.7473 GB, free: 7.602 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.7914, allocations: 1.375 kB / 0.7473 GB, free: 7.602 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002372/0.7917, allocations: 175.7 kB / 0.7474 GB, free: 7.574 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.7928, allocations: 239.9 kB / 0.7477 GB, free: 7.492 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/0.7946, allocations: 1.227 MB / 0.7489 GB, free: 6.695 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004693/0.7951, allocations: 0.8304 MB / 0.7497 GB, free: 5.938 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003842/0.7955, allocations: 103.1 kB / 0.7498 GB, free: 5.891 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.84e-05/0.7956, allocations: 42.95 kB / 0.7498 GB, free: 5.879 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.7956, allocations: 0 / 0.7498 GB, free: 5.879 MB / 0.545 GB Notification: Performance of Templates: time 0.01278/0.8084, allocations: 8.345 MB / 0.758 GB, free: 1.742 MB / 0.545 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Examples.AirTestImplementation.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Media.Examples.AirTestImplementation.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Examples.AirTestImplementation.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Examples.AirTestImplementation.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Examples.AirTestImplementation.sim & ./Buildings_3.0.0_Buildings.Media.Examples.AirTestImplementation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Examples.AirTestImplementation.pipe 2>&1) Environment - environmentSimulation: