Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8289/0.8289, allocations: 132.4 MB / 139.7 MB, free: 15.52 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001094/0.001094, allocations: 173.3 kB / 171.6 MB, free: 1.992 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.519/1.519, allocations: 170.5 MB / 373.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001747/0.001747, allocations: 110.4 kB / 444.4 MB, free: 9.363 MB / 346.7 MB [/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.603/0.603, allocations: 73.39 MB / 0.666 GB, free: 62.35 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2088/0.8119, allocations: 135.7 MB / 0.7985 GB, free: 0.543 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003352/0.8123, allocations: 96.78 kB / 0.7986 GB, free: 460 kB / 0.4948 GB Notification: Performance of FrontEnd: time 0.06424/0.8765, allocations: 24.07 MB / 0.8221 GB, free: 8.297 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.147e-05/0.8766, allocations: 16 kB / 0.8221 GB, free: 8.281 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001362/0.8779, allocations: 0.6366 MB / 0.8227 GB, free: 7.602 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.878, allocations: 8.031 kB / 0.8227 GB, free: 7.594 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001347/0.8794, allocations: 143.3 kB / 0.8229 GB, free: 7.453 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006955/0.8801, allocations: 327.2 kB / 0.8232 GB, free: 7.09 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/0.8801, allocations: 13.88 kB / 0.8232 GB, free: 7.078 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.825e-05/0.8802, allocations: 20 kB / 0.8232 GB, free: 7.059 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007308/0.8809, allocations: 393.6 kB / 0.8236 GB, free: 6.676 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008755/0.8818, allocations: 0.5571 MB / 0.8241 GB, free: 6.059 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/0.8819, allocations: 4 kB / 0.8242 GB, free: 6.055 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.621e-05/0.8819, allocations: 4 kB / 0.8242 GB, free: 6.051 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.041e-05/0.882, allocations: 32.64 kB / 0.8242 GB, free: 6.02 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004107/0.8861, allocations: 2.835 MB / 0.827 GB, free: 3.043 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004926/0.8866, allocations: 325.1 kB / 0.8273 GB, free: 2.707 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002726/0.8869, allocations: 169.7 kB / 0.8274 GB, free: 2.535 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.535e-05/0.887, allocations: 0 / 0.8274 GB, free: 2.535 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.292e-05/0.887, allocations: 42.55 kB / 0.8275 GB, free: 2.484 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=25): time 1.984e-06/0.887, allocations: 0 / 0.8275 GB, free: 2.484 MB / 0.5261 GB Notification: Performance of matching and sorting (n=26): time 0.002247/0.8893, allocations: 0.6393 MB / 0.8281 GB, free: 1.832 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.8893, allocations: 81.11 kB / 0.8282 GB, free: 1.734 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003019/0.8896, allocations: 259.3 kB / 0.8284 GB, free: 1.469 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.8897, allocations: 25.7 kB / 0.8284 GB, free: 1.438 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000154/0.8898, allocations: 247.2 kB / 0.8287 GB, free: 1.191 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.929e-05/0.8899, allocations: 90.75 kB / 0.8288 GB, free: 1.102 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.075e-05/0.89, allocations: 0 / 0.8288 GB, free: 1.102 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.8901, allocations: 342.8 kB / 0.8291 GB, free: 0.7578 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002597/0.8904, allocations: 164.9 kB / 0.8292 GB, free: 0.5977 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003481/0.8907, allocations: 328.5 kB / 0.8296 GB, free: 212 kB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005421/0.8913, allocations: 261.1 kB / 0.8298 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.251e-06/0.8913, allocations: 3.938 kB / 0.8298 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001828/0.8931, allocations: 0.7178 MB / 0.8305 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009175/0.8941, allocations: 2.084 MB / 0.8325 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.756e-05/0.8941, allocations: 8 kB / 0.8326 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001268/0.8954, allocations: 201.5 kB / 0.8327 GB, free: 12.76 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000431/0.8958, allocations: 91.83 kB / 0.8328 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001357/0.8972, allocations: 1.289 MB / 0.8341 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003987/0.8976, allocations: 23.88 kB / 0.8341 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.615e-05/0.8977, allocations: 24 kB / 0.8341 GB, free: 11.28 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 8.396e-06/0.8977, allocations: 0 / 0.8341 GB, free: 11.28 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008082/0.8985, allocations: 455.5 kB / 0.8346 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.8985, allocations: 7.984 kB / 0.8346 GB, free: 10.83 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.8985, allocations: 12 kB / 0.8346 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004232/0.899, allocations: 103.3 kB / 0.8347 GB, free: 10.72 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.511e-05/0.899, allocations: 19.12 kB / 0.8347 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002894/0.8993, allocations: 20.47 kB / 0.8347 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.753e-05/0.8993, allocations: 27.98 kB / 0.8348 GB, free: 10.66 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 47 * 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 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001505/0.8995, allocations: 123.6 kB / 0.8349 GB, free: 10.53 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.959e-05/0.8996, allocations: 35.56 kB / 0.8349 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00184/0.9014, allocations: 0.6415 MB / 0.8355 GB, free: 9.84 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.9015, allocations: 4 kB / 0.8355 GB, free: 9.836 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.9015, allocations: 0 / 0.8355 GB, free: 9.836 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.9015, allocations: 0 / 0.8355 GB, free: 9.836 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009453/0.9024, allocations: 0.5941 MB / 0.8361 GB, free: 9.191 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.9025, allocations: 0 / 0.8361 GB, free: 9.191 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002146/0.9027, allocations: 43.91 kB / 0.8362 GB, free: 9.148 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001595/0.9043, allocations: 361.4 kB / 0.8365 GB, free: 8.789 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.756e-05/0.9043, allocations: 0 / 0.8365 GB, free: 8.789 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003935/0.9083, allocations: 3.228 MB / 0.8397 GB, free: 5.332 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.9083, allocations: 4.031 kB / 0.8397 GB, free: 5.328 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001814/0.9101, allocations: 0.834 MB / 0.8405 GB, free: 4.449 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001944/0.9103, allocations: 140.7 kB / 0.8406 GB, free: 4.293 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.705e-05/0.9104, allocations: 3.984 kB / 0.8406 GB, free: 4.289 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003535/0.9107, allocations: 27.91 kB / 0.8406 GB, free: 4.262 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.26e-05/0.9108, allocations: 19.89 kB / 0.8407 GB, free: 4.242 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.24e-05/0.9108, allocations: 8 kB / 0.8407 GB, free: 4.234 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.0002473/0.9111, allocations: 203.1 kB / 0.8409 GB, free: 4.039 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0008326/0.9119, allocations: 160 kB / 0.841 GB, free: 3.883 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * 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 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002024/0.9121, allocations: 119.1 kB / 0.8411 GB, free: 3.754 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00136/0.9135, allocations: 0.6902 MB / 0.8418 GB, free: 3.062 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.9135, allocations: 0 / 0.8418 GB, free: 3.062 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0007173/0.9142, allocations: 444.1 kB / 0.8422 GB, free: 2.609 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004334/0.9147, allocations: 52.69 kB / 0.8423 GB, free: 2.559 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.916, allocations: 0.5587 MB / 0.8428 GB, free: 1.965 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005283/0.9165, allocations: 0.877 MB / 0.8437 GB, free: 1.062 MB / 0.5417 GB Notification: Performance of SimCode: time 3.71e-07/0.9165, allocations: 0 / 0.8437 GB, free: 1.062 MB / 0.5417 GB Notification: Performance of Templates: time 0.01483/0.9314, allocations: 7.184 MB / 0.8507 GB, free: 9.941 MB / 0.5573 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1)