Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.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.OnePhase.Sensors.Examples.Probe,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.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.7792/0.7792, allocations: 132.4 MB / 139.7 MB, free: 15.58 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.001341/0.001342, allocations: 168.5 kB / 171.6 MB, free: 1.984 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.609/1.609, allocations: 170.5 MB / 373.9 MB, free: 15.86 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.001836/0.001836, allocations: 111.8 kB / 444.4 MB, free: 9.387 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.4919/0.4919, allocations: 73.4 MB / 0.666 GB, free: 62.41 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1822/0.6742, allocations: 132 MB / 0.795 GB, free: 4.184 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00044/0.6747, allocations: 98.66 kB / 0.7951 GB, free: 4.09 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.061/0.7357, allocations: 23.24 MB / 0.8178 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.952e-05/0.7358, allocations: 8 kB / 0.8178 GB, free: 12.75 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.001454/0.7373, allocations: 0.6366 MB / 0.8184 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/0.7373, allocations: 8.031 kB / 0.8184 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001365/0.7387, allocations: 143.3 kB / 0.8185 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006058/0.7393, allocations: 331.2 kB / 0.8188 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.7394, allocations: 12 kB / 0.8189 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.26e-05/0.7395, allocations: 20 kB / 0.8189 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007251/0.7402, allocations: 397.6 kB / 0.8192 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008946/0.7411, allocations: 0.5532 MB / 0.8198 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/0.7411, allocations: 0 / 0.8198 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.784e-05/0.7412, allocations: 4 kB / 0.8198 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.262e-05/0.7413, allocations: 40.58 kB / 0.8198 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003765/0.745, allocations: 2.82 MB / 0.8226 GB, free: 7.516 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004423/0.7455, allocations: 329 kB / 0.8229 GB, free: 7.176 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002451/0.7457, allocations: 173.7 kB / 0.8231 GB, free: 7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.592e-05/0.7458, allocations: 4 kB / 0.8231 GB, free: 6.996 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.7458, allocations: 34.56 kB / 0.8231 GB, free: 6.953 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=25): time 2.294e-06/0.7458, allocations: 0 / 0.8231 GB, free: 6.953 MB / 0.5261 GB Notification: Performance of matching and sorting (n=26): time 0.002072/0.7479, allocations: 0.6393 MB / 0.8237 GB, free: 6.301 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.179e-05/0.748, allocations: 77.11 kB / 0.8238 GB, free: 6.207 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003488/0.7484, allocations: 263.3 kB / 0.8241 GB, free: 5.941 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.415e-05/0.7484, allocations: 25.7 kB / 0.8241 GB, free: 5.91 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001945/0.7486, allocations: 247.2 kB / 0.8243 GB, free: 5.66 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.062e-05/0.7487, allocations: 94.73 kB / 0.8244 GB, free: 5.566 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.101e-05/0.7487, allocations: 0 / 0.8244 GB, free: 5.566 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.7489, allocations: 338.8 kB / 0.8247 GB, free: 5.227 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002768/0.7492, allocations: 168.9 kB / 0.8249 GB, free: 5.062 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004047/0.7496, allocations: 332.5 kB / 0.8252 GB, free: 4.668 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000515/0.7501, allocations: 256.8 kB / 0.8254 GB, free: 4.418 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.7502, allocations: 0 / 0.8254 GB, free: 4.418 MB / 0.5261 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001853/0.752, allocations: 0.7141 MB / 0.8261 GB, free: 3.691 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001021/0.753, allocations: 2.086 MB / 0.8282 GB, free: 1.441 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/0.7531, allocations: 10.56 kB / 0.8282 GB, free: 1.434 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001254/0.7543, allocations: 197.5 kB / 0.8284 GB, free: 1.234 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004196/0.7548, allocations: 91.83 kB / 0.8285 GB, free: 1.145 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001402/0.7562, allocations: 1.284 MB / 0.8297 GB, free: 15.81 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004546/0.7566, allocations: 23.88 kB / 0.8297 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.008e-05/0.7567, allocations: 29.12 kB / 0.8298 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 9.287e-06/0.7567, allocations: 7.938 kB / 0.8298 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008504/0.7576, allocations: 455.7 kB / 0.8302 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.7576, allocations: 4 kB / 0.8302 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.7576, allocations: 8 kB / 0.8302 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004295/0.7581, allocations: 107.8 kB / 0.8303 GB, free: 15.19 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.7581, allocations: 11.94 kB / 0.8303 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002956/0.7584, allocations: 20.03 kB / 0.8304 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.664e-05/0.7584, allocations: 16 kB / 0.8304 GB, free: 15.14 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.0001572/0.7586, allocations: 133 kB / 0.8305 GB, free: 15 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.7587, allocations: 35.61 kB / 0.8305 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001909/0.7606, allocations: 0.64 MB / 0.8312 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.7606, allocations: 8 kB / 0.8312 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.7607, allocations: 0 / 0.8312 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.7607, allocations: 0 / 0.8312 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.7617, allocations: 0.594 MB / 0.8317 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.7617, allocations: 4 kB / 0.8318 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002682/0.762, allocations: 39.91 kB / 0.8318 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001658/0.7636, allocations: 361.4 kB / 0.8321 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.383e-05/0.7637, allocations: 4 kB / 0.8321 GB, free: 13.26 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004342/0.768, allocations: 3.224 MB / 0.8353 GB, free: 9.805 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/0.7681, allocations: 4 kB / 0.8353 GB, free: 9.801 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002306/0.7704, allocations: 0.8296 MB / 0.8361 GB, free: 8.926 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000305/0.7707, allocations: 146.6 kB / 0.8362 GB, free: 8.766 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.928e-05/0.7708, allocations: 3.938 kB / 0.8362 GB, free: 8.762 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003759/0.7712, allocations: 19.97 kB / 0.8363 GB, free: 8.742 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.894e-05/0.7712, allocations: 23.88 kB / 0.8363 GB, free: 8.719 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.65e-05/0.7713, allocations: 12 kB / 0.8363 GB, free: 8.707 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.0002813/0.7716, allocations: 199.1 kB / 0.8365 GB, free: 8.516 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001152/0.7727, allocations: 167.9 kB / 0.8366 GB, free: 8.352 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.0002994/0.773, allocations: 115.1 kB / 0.8368 GB, free: 8.23 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001728/0.7748, allocations: 0.6948 MB / 0.8374 GB, free: 7.535 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.872e-06/0.7748, allocations: 0 / 0.8374 GB, free: 7.535 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000831/0.7756, allocations: 440.3 kB / 0.8379 GB, free: 7.086 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005333/0.7762, allocations: 59.92 kB / 0.8379 GB, free: 7.031 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/0.7778, allocations: 0.5547 MB / 0.8385 GB, free: 6.438 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008177/0.7786, allocations: 0.8848 MB / 0.8393 GB, free: 5.527 MB / 0.5417 GB Notification: Performance of SimCode: time 1.062e-06/0.7786, allocations: 0 / 0.8393 GB, free: 5.527 MB / 0.5417 GB Notification: Performance of Templates: time 0.01481/0.7935, allocations: 7.183 MB / 0.8463 GB, free: 14.41 MB / 0.5573 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1)