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.222/0.2242, allocations: 80.83 MB / 0.6707 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTestImplementation): time 0.6994/0.9236, allocations: 165.3 MB / 0.8321 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003653/0.9273, allocations: 2.548 MB / 0.8346 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002115/0.9276, allocations: 3.031 kB / 0.8346 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008641/0.9284, allocations: 254.4 kB / 0.8348 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0008817/0.9294, allocations: 447.5 kB / 0.8352 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007733/0.9302, allocations: 335.4 kB / 0.8356 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009924/0.9312, allocations: 1.048 MB / 0.8366 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002667/0.9314, allocations: 140.7 kB / 0.8367 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001398/0.9329, allocations: 0.699 MB / 0.8374 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004588/0.9333, allocations: 378.2 kB / 0.8378 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.693e-05/0.9334, allocations: 48 kB / 0.8378 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001569/0.9336, allocations: 53.81 kB / 0.8379 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002022/0.9338, allocations: 211.8 kB / 0.8381 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002766/0.9341, allocations: 271.9 kB / 0.8383 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006552/0.9347, allocations: 0.6873 MB / 0.839 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.9347, allocations: 0 / 0.839 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.324e-06/0.9347, allocations: 0 / 0.839 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.255e-06/0.9348, allocations: 0 / 0.839 GB, free: 7.645 MB / 0.6075 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.001409/0.9362, allocations: 0.7142 MB / 0.8397 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.9362, allocations: 10.38 kB / 0.8397 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003329/0.9366, allocations: 56.16 kB / 0.8397 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005583/0.9371, allocations: 344 kB / 0.8401 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.055e-05/0.9372, allocations: 23.47 kB / 0.8401 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.79e-05/0.9372, allocations: 41.5 kB / 0.8401 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006963/0.9379, allocations: 402.4 kB / 0.8405 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.938, allocations: 3.938 kB / 0.8405 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.776e-05/0.938, allocations: 17.19 kB / 0.8405 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.938, allocations: 10.28 kB / 0.8405 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006039/0.9387, allocations: 346.2 kB / 0.8409 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00251/0.9412, allocations: 1.565 MB / 0.8424 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004415/0.9416, allocations: 292.6 kB / 0.8427 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002132/0.9419, allocations: 163.3 kB / 0.8428 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.994e-05/0.9419, allocations: 13.39 kB / 0.8429 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/0.9419, allocations: 41.47 kB / 0.8429 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=33): time 1.663e-06/0.942, allocations: 2.188 kB / 0.8429 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39): time 0.003172/0.9451, allocations: 1.427 MB / 0.8443 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.9452, allocations: 56.12 kB / 0.8443 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003516/0.9456, allocations: 308.5 kB / 0.8446 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.097e-05/0.9456, allocations: 36.27 kB / 0.8447 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/0.9458, allocations: 200.2 kB / 0.8449 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.965e-05/0.9459, allocations: 137.5 kB / 0.845 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/0.946, allocations: 76.05 kB / 0.8451 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.9462, allocations: 346.5 kB / 0.8454 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000221/0.9464, allocations: 143.2 kB / 0.8455 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003213/0.9467, allocations: 191.4 kB / 0.8457 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005065/0.9473, allocations: 356.5 kB / 0.8461 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.9473, allocations: 0 / 0.8461 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006804/0.948, allocations: 473.2 kB / 0.8465 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.948, allocations: 2.75 kB / 0.8465 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.948, allocations: 10 kB / 0.8465 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001311/0.9481, allocations: 45.8 kB / 0.8466 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004167/0.9486, allocations: 90.42 kB / 0.8467 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002606/0.9512, allocations: 2.824 MB / 0.8494 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002934/0.9515, allocations: 12.34 kB / 0.8494 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.852e-05/0.9515, allocations: 14.69 kB / 0.8494 GB, free: 14.99 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002666/0.9518, allocations: 185.4 kB / 0.8496 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.9519, allocations: 35.38 kB / 0.8496 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.952, allocations: 46.84 kB / 0.8497 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.952, allocations: 4.312 kB / 0.8497 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.952, allocations: 0 / 0.8497 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006813/0.9527, allocations: 0.5819 MB / 0.8503 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001626/0.9544, allocations: 1.052 MB / 0.8513 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.9544, allocations: 0 / 0.8513 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004484/0.9548, allocations: 94.34 kB / 0.8514 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.9549, allocations: 2.125 kB / 0.8514 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.364e-05/0.9549, allocations: 13.84 kB / 0.8514 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.9549, allocations: 5.375 kB / 0.8514 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.9549, allocations: 192 / 0.8514 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009695/0.9559, allocations: 0.6791 MB / 0.8521 GB, free: 13 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002538/0.9562, allocations: 166.7 kB / 0.8522 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.019e-05/0.9562, allocations: 13.27 kB / 0.8522 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003558/0.9566, allocations: 19.61 kB / 0.8523 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.613e-05/0.9566, allocations: 28.22 kB / 0.8523 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-05/0.9567, allocations: 20.67 kB / 0.8523 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002654/0.957, allocations: 226.1 kB / 0.8525 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.957, allocations: 0 / 0.8525 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004792/0.9575, allocations: 126.3 kB / 0.8526 GB, free: 12.64 MB / 0.6231 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 (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.0002793/0.9577, allocations: 123.4 kB / 0.8528 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001037/0.9588, allocations: 0.576 MB / 0.8533 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.9588, allocations: 2.75 kB / 0.8533 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003032/0.9591, allocations: 179.5 kB / 0.8535 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/0.9604, allocations: 252.9 kB / 0.8537 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/0.9623, allocations: 1.026 MB / 0.8547 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004461/0.9627, allocations: 0.8226 MB / 0.8555 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000376/0.9631, allocations: 102.2 kB / 0.8556 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.9632, allocations: 38.81 kB / 0.8557 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of SimCode: time 7.32e-07/0.9632, allocations: 0 / 0.8557 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of Templates: time 0.01664/0.9799, allocations: 9.364 MB / 0.8648 GB, free: 2.281 MB / 0.6231 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Examples.AirTestImplementation.makefile (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)