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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8/0.8, allocations: 132.4 MB / 139.9 MB, free: 15.39 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.001021/0.001021, allocations: 171.1 kB / 171.8 MB, free: 2.012 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.889/1.889, allocations: 170.6 MB / 374.2 MB, free: 15.7 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.0015/0.0015, allocations: 107.3 kB / 444.8 MB, free: 9.219 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.4987/0.4988, allocations: 73.4 MB / 0.6666 GB, free: 46.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1982/0.6971, allocations: 132.1 MB / 0.7956 GB, free: 4.629 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003042/0.6974, allocations: 101.1 kB / 0.7957 GB, free: 4.531 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.06326/0.7607, allocations: 23.68 MB / 0.8188 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.212e-06/0.7607, allocations: 0 / 0.8188 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.246e-05/0.7608, allocations: 15.94 kB / 0.8188 GB, free: 12.76 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.001442/0.7622, allocations: 0.6373 MB / 0.8195 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.7623, allocations: 8.031 kB / 0.8195 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001374/0.7637, allocations: 143.3 kB / 0.8196 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006049/0.7643, allocations: 326.1 kB / 0.8199 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.7644, allocations: 15.94 kB / 0.8199 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.246e-05/0.7644, allocations: 20 kB / 0.82 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006938/0.7651, allocations: 385.9 kB / 0.8203 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008288/0.766, allocations: 0.5395 MB / 0.8208 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/0.766, allocations: 7.547 kB / 0.8209 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.527e-05/0.7661, allocations: 8 kB / 0.8209 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.306e-05/0.7661, allocations: 32.77 kB / 0.8209 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003489/0.7696, allocations: 2.729 MB / 0.8236 GB, free: 7.668 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000675/0.7703, allocations: 358 kB / 0.8239 GB, free: 7.301 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002364/0.7706, allocations: 165.7 kB / 0.8241 GB, free: 7.133 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 5.611e-05/0.7706, allocations: 3.984 kB / 0.8241 GB, free: 7.129 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.7707, allocations: 38.56 kB / 0.8241 GB, free: 7.082 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=25): time 3.497e-06/0.7707, allocations: 4 kB / 0.8241 GB, free: 7.078 MB / 0.5261 GB Notification: Performance of matching and sorting (n=26): time 0.001851/0.7726, allocations: 0.6541 MB / 0.8247 GB, free: 6.41 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.7726, allocations: 81.11 kB / 0.8248 GB, free: 6.312 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002962/0.7729, allocations: 266.1 kB / 0.8251 GB, free: 6.051 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.438e-05/0.773, allocations: 25.8 kB / 0.8251 GB, free: 6.02 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000207/0.7732, allocations: 267.3 kB / 0.8254 GB, free: 5.75 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.247e-05/0.7733, allocations: 86.69 kB / 0.8254 GB, free: 5.664 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.056e-05/0.7733, allocations: 0 / 0.8254 GB, free: 5.664 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.7734, allocations: 342.8 kB / 0.8258 GB, free: 5.32 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002327/0.7737, allocations: 165.1 kB / 0.8259 GB, free: 5.156 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000325/0.774, allocations: 317.9 kB / 0.8262 GB, free: 4.777 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004593/0.7745, allocations: 252.2 kB / 0.8265 GB, free: 4.531 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/0.7745, allocations: 4 kB / 0.8265 GB, free: 4.527 MB / 0.5261 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001742/0.7762, allocations: 0.7414 MB / 0.8272 GB, free: 3.773 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009558/0.7772, allocations: 2.086 MB / 0.8292 GB, free: 1.523 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/0.7772, allocations: 8 kB / 0.8292 GB, free: 1.516 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001233/0.7785, allocations: 241.3 kB / 0.8295 GB, free: 1.273 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004439/0.7789, allocations: 93.88 kB / 0.8296 GB, free: 1.184 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001335/0.7803, allocations: 1.27 MB / 0.8308 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004412/0.7807, allocations: 31.81 kB / 0.8308 GB, free: 15.83 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.604e-05/0.7808, allocations: 19.98 kB / 0.8308 GB, free: 15.81 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.7808, allocations: 4.625 kB / 0.8308 GB, free: 15.81 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008439/0.7817, allocations: 443.4 kB / 0.8313 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.7817, allocations: 4.719 kB / 0.8313 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.7817, allocations: 8 kB / 0.8313 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004022/0.7821, allocations: 115.9 kB / 0.8314 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.7822, allocations: 11.94 kB / 0.8314 GB, free: 15.24 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002933/0.7825, allocations: 19.89 kB / 0.8314 GB, free: 15.22 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.895e-05/0.7825, allocations: 23.98 kB / 0.8314 GB, free: 15.2 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.0001828/0.7827, allocations: 126.2 kB / 0.8316 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.7828, allocations: 35.56 kB / 0.8316 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001785/0.7846, allocations: 0.6603 MB / 0.8322 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.7846, allocations: 4 kB / 0.8323 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.505e-06/0.7846, allocations: 0 / 0.8323 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.7847, allocations: 0 / 0.8323 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009864/0.7856, allocations: 0.5979 MB / 0.8328 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.7857, allocations: 4 kB / 0.8328 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002016/0.7859, allocations: 43.91 kB / 0.8329 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001661/0.7875, allocations: 401.3 kB / 0.8333 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.421e-05/0.7876, allocations: 4 kB / 0.8333 GB, free: 13.26 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005199/0.7928, allocations: 3.34 MB / 0.8365 GB, free: 9.688 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.386e-06/0.7928, allocations: 7.969 kB / 0.8365 GB, free: 9.68 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002069/0.7949, allocations: 0.848 MB / 0.8374 GB, free: 8.785 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002681/0.7952, allocations: 144.6 kB / 0.8375 GB, free: 8.625 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.647e-05/0.7953, allocations: 4 kB / 0.8375 GB, free: 8.621 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004432/0.7957, allocations: 31.94 kB / 0.8375 GB, free: 8.59 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.954e-05/0.7958, allocations: 23.92 kB / 0.8376 GB, free: 8.566 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.649e-05/0.7959, allocations: 8 kB / 0.8376 GB, free: 8.559 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003305/0.7962, allocations: 202 kB / 0.8378 GB, free: 8.359 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8.21e-07/0.7962, allocations: 3.938 kB / 0.8378 GB, free: 8.355 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001294/0.7975, allocations: 164 kB / 0.8379 GB, free: 8.195 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.0003519/0.7979, allocations: 111.2 kB / 0.838 GB, free: 8.078 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001901/0.7998, allocations: 0.682 MB / 0.8387 GB, free: 7.398 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.7998, allocations: 2 kB / 0.8387 GB, free: 7.398 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0008919/0.8007, allocations: 459.3 kB / 0.8391 GB, free: 6.93 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005298/0.8013, allocations: 52.25 kB / 0.8392 GB, free: 6.883 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.8025, allocations: 0.5246 MB / 0.8397 GB, free: 6.328 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006045/0.8031, allocations: 0.8548 MB / 0.8405 GB, free: 5.445 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0005256/0.8037, allocations: 160.4 kB / 0.8407 GB, free: 5.289 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.668e-05/0.8038, allocations: 31.44 kB / 0.8407 GB, free: 5.258 MB / 0.5417 GB Notification: Performance of SimCode: time 6.41e-07/0.8038, allocations: 0 / 0.8407 GB, free: 5.258 MB / 0.5417 GB Notification: Performance of Templates: time 0.01109/0.8149, allocations: 5.619 MB / 0.8462 GB, free: 15.7 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)