Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.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.GeneralizedSensor,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.6894/0.6894, allocations: 132.3 MB / 144.9 MB, free: 10.7 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.0009324/0.0009325, allocations: 171.4 kB / 176.9 MB, free: 2.238 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.274/1.274, allocations: 170.5 MB / 379.3 MB, free: 11.92 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.001553/0.001554, allocations: 121.3 kB / 450 MB, free: 5.832 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.4606/0.4606, allocations: 73.39 MB / 0.6736 GB, free: 47.98 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1576/0.6183, allocations: 128.4 MB / 0.799 GB, free: 4.27 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000286/0.6186, allocations: 98.84 kB / 0.7991 GB, free: 4.176 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.03767/0.6563, allocations: 16.62 MB / 0.8153 GB, free: 3.496 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6563, allocations: 0 / 0.8153 GB, free: 3.496 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.916e-05/0.6563, allocations: 8 kB / 0.8153 GB, free: 3.488 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 58 * Number of variables: 58 Notification: Performance of Generate backend data structure: time 0.0007178/0.6571, allocations: 0.5233 MB / 0.8158 GB, free: 2.922 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.6571, allocations: 8.031 kB / 0.8158 GB, free: 2.914 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007124/0.6578, allocations: 91.61 kB / 0.8159 GB, free: 2.824 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003811/0.6582, allocations: 257.9 kB / 0.8161 GB, free: 2.535 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.6583, allocations: 12.44 kB / 0.8162 GB, free: 2.523 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.122e-05/0.6583, allocations: 28 kB / 0.8162 GB, free: 2.496 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005247/0.6588, allocations: 356.6 kB / 0.8165 GB, free: 2.129 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.6589, allocations: 4.562 kB / 0.8165 GB, free: 2.125 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.232e-05/0.6589, allocations: 11.98 kB / 0.8165 GB, free: 2.113 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.602e-05/0.6589, allocations: 20.42 kB / 0.8166 GB, free: 2.094 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004142/0.6594, allocations: 293.6 kB / 0.8168 GB, free: 1.809 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001528/0.6609, allocations: 1.174 MB / 0.818 GB, free: 0.5664 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004172/0.6613, allocations: 225.6 kB / 0.8182 GB, free: 348 kB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001603/0.6615, allocations: 125.6 kB / 0.8183 GB, free: 220 kB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001368/0.6617, allocations: 81.11 kB / 0.8184 GB, free: 120 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.6617, allocations: 34.56 kB / 0.8184 GB, free: 76 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 3.015e-06/0.6617, allocations: 3.938 kB / 0.8184 GB, free: 72 kB / 0.5105 GB Notification: Performance of matching and sorting (n=19): time 0.001165/0.6629, allocations: 0.6965 MB / 0.8191 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.6629, allocations: 63.3 kB / 0.8192 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.6631, allocations: 181.7 kB / 0.8194 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.6631, allocations: 29.7 kB / 0.8194 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.743e-05/0.6632, allocations: 156 kB / 0.8195 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.293e-05/0.6633, allocations: 71 kB / 0.8196 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.423e-05/0.6633, allocations: 7.938 kB / 0.8196 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.6635, allocations: 330.8 kB / 0.8199 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.6636, allocations: 108 kB / 0.82 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001946/0.6638, allocations: 171.5 kB / 0.8202 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001946/0.664, allocations: 127.9 kB / 0.8203 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.664, allocations: 0 / 0.8203 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000685/0.6647, allocations: 417.8 kB / 0.8207 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.6648, allocations: 4 kB / 0.8207 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.6648, allocations: 4 kB / 0.8207 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003567/0.6651, allocations: 96.95 kB / 0.8208 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002356/0.6654, allocations: 51.97 kB / 0.8209 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001688/0.6671, allocations: 1.732 MB / 0.8225 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.6673, allocations: 16.17 kB / 0.8226 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.124e-05/0.6673, allocations: 8 kB / 0.8226 GB, free: 11.58 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.582e-05/0.6674, allocations: 118.1 kB / 0.8227 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.382e-05/0.6675, allocations: 23.81 kB / 0.8227 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004557/0.6679, allocations: 296.1 kB / 0.823 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.6679, allocations: 0 / 0.823 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.61e-07/0.6679, allocations: 0 / 0.823 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.6679, allocations: 3.984 kB / 0.823 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008585/0.6688, allocations: 0.7125 MB / 0.8237 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.6688, allocations: 0 / 0.8237 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002852/0.6691, allocations: 59.89 kB / 0.8237 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.6691, allocations: 0 / 0.8237 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.6692, allocations: 8 kB / 0.8238 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.6692, allocations: 0 / 0.8238 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.6692, allocations: 3.938 kB / 0.8238 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005739/0.6697, allocations: 0.5477 MB / 0.8243 GB, free: 9.711 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/0.6699, allocations: 112.9 kB / 0.8244 GB, free: 9.582 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.364e-05/0.6699, allocations: 11.98 kB / 0.8244 GB, free: 9.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.6701, allocations: 11.98 kB / 0.8244 GB, free: 9.559 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.16e-05/0.6701, allocations: 11.98 kB / 0.8244 GB, free: 9.547 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.6701, allocations: 4 kB / 0.8244 GB, free: 9.543 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001149/0.6703, allocations: 147.2 kB / 0.8246 GB, free: 9.398 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6703, allocations: 0 / 0.8246 GB, free: 9.398 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003408/0.6706, allocations: 79.98 kB / 0.8247 GB, free: 9.32 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0001649/0.6708, allocations: 119.1 kB / 0.8248 GB, free: 9.191 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006156/0.6714, allocations: 414.5 kB / 0.8252 GB, free: 8.773 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.6714, allocations: 4 kB / 0.8252 GB, free: 8.77 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.6716, allocations: 123.8 kB / 0.8253 GB, free: 8.648 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.6718, allocations: 32.09 kB / 0.8253 GB, free: 8.617 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000867/0.6727, allocations: 492.2 kB / 0.8258 GB, free: 8.113 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.673, allocations: 0.7905 MB / 0.8266 GB, free: 7.297 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001762/0.6732, allocations: 66.02 kB / 0.8266 GB, free: 7.23 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.473e-05/0.6733, allocations: 19.44 kB / 0.8266 GB, free: 7.211 MB / 0.5261 GB Notification: Performance of SimCode: time 2.61e-07/0.6733, allocations: 0 / 0.8266 GB, free: 7.211 MB / 0.5261 GB Notification: Performance of Templates: time 0.005113/0.6784, allocations: 2.574 MB / 0.8292 GB, free: 4.668 MB / 0.5261 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1)