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.1975/0.1983, allocations: 82.22 MB / 0.5935 GB, free: 5.965 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTestImplementation): time 0.7021/0.9004, allocations: 150.1 MB / 0.7401 GB, free: 15.88 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003835/0.9043, allocations: 2.387 MB / 0.7424 GB, free: 15.67 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000416/0.9048, allocations: 2.188 kB / 0.7424 GB, free: 15.67 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008377/0.9056, allocations: 178.4 kB / 0.7426 GB, free: 15.62 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001001/0.9066, allocations: 398.6 kB / 0.7429 GB, free: 15.52 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007945/0.9074, allocations: 261.1 kB / 0.7432 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001595/0.909, allocations: 1.318 MB / 0.7445 GB, free: 15.32 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002458/0.9093, allocations: 102.1 kB / 0.7446 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001466/0.9108, allocations: 0.5644 MB / 0.7451 GB, free: 15.17 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005648/0.9113, allocations: 372.3 kB / 0.7455 GB, free: 15.11 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.693e-05/0.9114, allocations: 22.66 kB / 0.7455 GB, free: 15.11 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001556/0.9116, allocations: 28.38 kB / 0.7455 GB, free: 15.11 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002069/0.9118, allocations: 185.9 kB / 0.7457 GB, free: 15.1 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001242/0.9119, allocations: 123.9 kB / 0.7458 GB, free: 15.05 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005026/0.9124, allocations: 0.5119 MB / 0.7463 GB, free: 15.02 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.9124, allocations: 0 / 0.7463 GB, free: 15.02 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.824e-06/0.9124, allocations: 4 kB / 0.7463 GB, free: 15.02 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.876e-06/0.9125, allocations: 0 / 0.7463 GB, free: 15.02 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.00115/0.9136, allocations: 0.6291 MB / 0.7469 GB, free: 14.55 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.9137, allocations: 9.031 kB / 0.747 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003138/0.914, allocations: 60.03 kB / 0.747 GB, free: 14.53 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004465/0.9144, allocations: 325.7 kB / 0.7473 GB, free: 14.29 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.127e-05/0.9145, allocations: 26.25 kB / 0.7473 GB, free: 14.29 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.43e-05/0.9146, allocations: 44.95 kB / 0.7474 GB, free: 14.29 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000671/0.9152, allocations: 399.5 kB / 0.7478 GB, free: 14.24 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.9153, allocations: 3.984 kB / 0.7478 GB, free: 14.23 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.954e-05/0.9153, allocations: 17.5 kB / 0.7478 GB, free: 14.23 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.9153, allocations: 13.06 kB / 0.7478 GB, free: 14.23 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005479/0.9159, allocations: 340.9 kB / 0.7481 GB, free: 14.21 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002519/0.9184, allocations: 1.57 MB / 0.7497 GB, free: 13.12 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005751/0.919, allocations: 285.6 kB / 0.7499 GB, free: 13.07 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002758/0.9193, allocations: 153.4 kB / 0.7501 GB, free: 13.05 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.943e-05/0.9193, allocations: 5.781 kB / 0.7501 GB, free: 13.05 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.9194, allocations: 45.73 kB / 0.7501 GB, free: 13 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 1.894e-06/0.9194, allocations: 0 / 0.7501 GB, free: 13 MB / 0.545 GB Notification: Performance of matching and sorting (n=39): time 0.003363/0.9228, allocations: 1.438 MB / 0.7515 GB, free: 12.32 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.273e-05/0.9228, allocations: 56.03 kB / 0.7516 GB, free: 12.26 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003938/0.9232, allocations: 314.2 kB / 0.7519 GB, free: 12.12 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.495e-05/0.9233, allocations: 40.92 kB / 0.7519 GB, free: 12.08 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/0.9234, allocations: 189.4 kB / 0.7521 GB, free: 11.95 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/0.9236, allocations: 133.5 kB / 0.7522 GB, free: 11.85 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.107e-05/0.9236, allocations: 9.438 kB / 0.7522 GB, free: 11.85 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.9238, allocations: 349.4 kB / 0.7526 GB, free: 11.52 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002171/0.924, allocations: 138 kB / 0.7527 GB, free: 11.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002567/0.9243, allocations: 193.8 kB / 0.7529 GB, free: 11.44 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002661/0.9246, allocations: 164 kB / 0.753 GB, free: 11.43 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.9246, allocations: 4 kB / 0.753 GB, free: 11.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007647/0.9253, allocations: 471.2 kB / 0.7535 GB, free: 11.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.9254, allocations: 8 kB / 0.7535 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.976e-06/0.9254, allocations: 0 / 0.7535 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001459/0.9255, allocations: 48.52 kB / 0.7536 GB, free: 11.28 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004684/0.926, allocations: 95.48 kB / 0.7536 GB, free: 11.26 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002545/0.9286, allocations: 2.619 MB / 0.7562 GB, free: 8.668 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003339/0.9289, allocations: 39.14 kB / 0.7562 GB, free: 8.652 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.106e-05/0.929, allocations: 14.28 kB / 0.7563 GB, free: 8.652 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.0003649/0.9293, allocations: 190 kB / 0.7564 GB, free: 8.52 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.277e-05/0.9294, allocations: 38.11 kB / 0.7565 GB, free: 8.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001276/0.9296, allocations: 55.78 kB / 0.7565 GB, free: 8.484 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.9296, allocations: 6.984 kB / 0.7565 GB, free: 8.484 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.016e-06/0.9296, allocations: 0 / 0.7565 GB, free: 8.484 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007046/0.9303, allocations: 0.5784 MB / 0.7571 GB, free: 8.098 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001745/0.9321, allocations: 1.048 MB / 0.7581 GB, free: 7.562 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.9321, allocations: 3.781 kB / 0.7581 GB, free: 7.562 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004624/0.9325, allocations: 87.3 kB / 0.7582 GB, free: 7.547 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.033e-05/0.9326, allocations: 7.328 kB / 0.7582 GB, free: 7.543 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.22e-05/0.9326, allocations: 17.23 kB / 0.7582 GB, free: 7.539 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.758e-06/0.9326, allocations: 1.969 kB / 0.7582 GB, free: 7.539 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.776e-06/0.9326, allocations: 7.812 kB / 0.7582 GB, free: 7.535 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.9337, allocations: 0.666 MB / 0.7589 GB, free: 7.277 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002889/0.934, allocations: 158.5 kB / 0.759 GB, free: 7.152 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.807e-05/0.9341, allocations: 18.14 kB / 0.7591 GB, free: 7.145 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004233/0.9345, allocations: 34.12 kB / 0.7591 GB, free: 7.133 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.003e-05/0.9346, allocations: 27.75 kB / 0.7591 GB, free: 7.121 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.343e-05/0.9346, allocations: 20.8 kB / 0.7591 GB, free: 7.117 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000284/0.9349, allocations: 236.5 kB / 0.7594 GB, free: 7.004 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9349, allocations: 0 / 0.7594 GB, free: 7.004 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005822/0.9355, allocations: 123.8 kB / 0.7595 GB, free: 7.004 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.0002395/0.9358, allocations: 110.2 kB / 0.7596 GB, free: 6.91 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001023/0.9368, allocations: 0.5659 MB / 0.7601 GB, free: 6.625 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.9368, allocations: 4.109 kB / 0.7601 GB, free: 6.625 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002678/0.9371, allocations: 173.1 kB / 0.7603 GB, free: 6.598 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001306/0.9384, allocations: 250.1 kB / 0.7605 GB, free: 6.516 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002328/0.9407, allocations: 1.228 MB / 0.7617 GB, free: 5.723 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006152/0.9414, allocations: 0.8247 MB / 0.7625 GB, free: 4.969 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005047/0.9419, allocations: 98.45 kB / 0.7626 GB, free: 4.926 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.942, allocations: 35.41 kB / 0.7627 GB, free: 4.918 MB / 0.545 GB Notification: Performance of SimCode: time 5.41e-07/0.942, allocations: 0 / 0.7627 GB, free: 4.918 MB / 0.545 GB Notification: Performance of Templates: time 0.01507/0.9571, allocations: 8.373 MB / 0.7709 GB, free: 0.7617 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: