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.7457/0.7457, allocations: 133.7 MB / 148.6 MB, free: 13.65 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.001039/0.001039, allocations: 174.9 kB / 180.9 MB, free: 15.08 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.37/1.37, allocations: 170.7 MB / 383.7 MB, free: 16.14 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.001575/0.001575, allocations: 108 kB / 454.6 MB, free: 9.738 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.1921/0.1926, allocations: 73.4 MB / 0.6812 GB, free: 5.547 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.598/0.7907, allocations: 128.5 MB / 0.8066 GB, free: 2.332 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003004/0.7911, allocations: 97.75 kB / 0.8067 GB, free: 2.277 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04184/0.8329, allocations: 16.72 MB / 0.8231 GB, free: 2.375 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.226e-06/0.833, allocations: 0 / 0.8231 GB, free: 2.375 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.214e-05/0.833, allocations: 16 kB / 0.8231 GB, free: 2.359 MB / 0.4948 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.001268/0.8343, allocations: 0.5325 MB / 0.8236 GB, free: 1.781 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.639e-05/0.8344, allocations: 8.031 kB / 0.8236 GB, free: 1.773 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008654/0.8353, allocations: 91.62 kB / 0.8237 GB, free: 1.684 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005506/0.8358, allocations: 266.5 kB / 0.8239 GB, free: 1.387 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.791e-05/0.8359, allocations: 12.44 kB / 0.824 GB, free: 1.375 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.487e-05/0.8359, allocations: 35.89 kB / 0.824 GB, free: 1.34 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007697/0.8367, allocations: 353.4 kB / 0.8243 GB, free: 0.9727 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.8368, allocations: 0 / 0.8243 GB, free: 0.9727 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.152e-05/0.8368, allocations: 11.98 kB / 0.8243 GB, free: 0.9609 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.299e-05/0.8369, allocations: 23.34 kB / 0.8244 GB, free: 0.9414 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005702/0.8374, allocations: 305.5 kB / 0.8247 GB, free: 0.6445 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001936/0.8394, allocations: 1.174 MB / 0.8258 GB, free: 15.4 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004357/0.8398, allocations: 226.4 kB / 0.826 GB, free: 15.17 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001439/0.84, allocations: 89.09 kB / 0.8261 GB, free: 15.06 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.84, allocations: 38.56 kB / 0.8261 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 1.412e-06/0.84, allocations: 0 / 0.8261 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of matching and sorting (n=19): time 0.001409/0.8415, allocations: 0.7927 MB / 0.8269 GB, free: 14.17 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.433e-05/0.8415, allocations: 55.41 kB / 0.827 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/0.8417, allocations: 173.8 kB / 0.8271 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.132e-05/0.8418, allocations: 33.7 kB / 0.8272 GB, free: 13.89 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.8419, allocations: 159.8 kB / 0.8273 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.476e-05/0.842, allocations: 74.91 kB / 0.8274 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.518e-05/0.842, allocations: 4 kB / 0.8274 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001825/0.8422, allocations: 330.8 kB / 0.8277 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/0.8424, allocations: 115.9 kB / 0.8278 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002126/0.8426, allocations: 167.5 kB / 0.828 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.8428, allocations: 135.7 kB / 0.8281 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.8428, allocations: 0 / 0.8281 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007988/0.8436, allocations: 413.9 kB / 0.8285 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.8437, allocations: 8 kB / 0.8285 GB, free: 12.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.8437, allocations: 0 / 0.8285 GB, free: 12.47 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004331/0.8441, allocations: 104.8 kB / 0.8286 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002559/0.8444, allocations: 51.91 kB / 0.8287 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002202/0.8466, allocations: 1.758 MB / 0.8304 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002119/0.8468, allocations: 15.98 kB / 0.8304 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.372e-05/0.8469, allocations: 8 kB / 0.8304 GB, free: 10.4 MB / 0.5105 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 () * Number of clocked 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 0.0001905/0.847, allocations: 165.6 kB / 0.8306 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.254e-05/0.8471, allocations: 15.81 kB / 0.8306 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005079/0.8476, allocations: 310 kB / 0.8309 GB, free: 9.91 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.8476, allocations: 0 / 0.8309 GB, free: 9.91 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-06/0.8476, allocations: 4 kB / 0.8309 GB, free: 9.906 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.8476, allocations: 7.969 kB / 0.8309 GB, free: 9.898 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009936/0.8486, allocations: 0.7068 MB / 0.8316 GB, free: 9.129 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.8487, allocations: 4.062 kB / 0.8316 GB, free: 9.125 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003031/0.849, allocations: 55.89 kB / 0.8316 GB, free: 9.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.849, allocations: 4 kB / 0.8316 GB, free: 9.066 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.849, allocations: 4 kB / 0.8316 GB, free: 9.062 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.849, allocations: 4 kB / 0.8316 GB, free: 9.059 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.849, allocations: 0 / 0.8316 GB, free: 9.059 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006666/0.8497, allocations: 0.5416 MB / 0.8322 GB, free: 8.484 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.8498, allocations: 120.9 kB / 0.8323 GB, free: 8.348 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.007e-05/0.8499, allocations: 4 kB / 0.8323 GB, free: 8.344 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.8501, allocations: 11.98 kB / 0.8323 GB, free: 8.332 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.36e-05/0.8501, allocations: 15.98 kB / 0.8323 GB, free: 8.316 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.8501, allocations: 4 kB / 0.8323 GB, free: 8.312 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001406/0.8503, allocations: 143.2 kB / 0.8325 GB, free: 8.172 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.21e-07/0.8503, allocations: 4.062 kB / 0.8325 GB, free: 8.168 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003831/0.8507, allocations: 83.89 kB / 0.8325 GB, free: 8.086 MB / 0.5105 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 () * Number of clocked 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.0002321/0.8509, allocations: 119.9 kB / 0.8327 GB, free: 7.961 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008043/0.8517, allocations: 420.3 kB / 0.8331 GB, free: 7.543 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.8517, allocations: 4.125 kB / 0.8331 GB, free: 7.539 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001791/0.8519, allocations: 123.8 kB / 0.8332 GB, free: 7.418 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.8522, allocations: 28.17 kB / 0.8332 GB, free: 7.391 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/0.8536, allocations: 0.753 MB / 0.8339 GB, free: 6.609 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004132/0.854, allocations: 0.7831 MB / 0.8347 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001969/0.8542, allocations: 65.88 kB / 0.8348 GB, free: 5.73 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.268e-05/0.8543, allocations: 19.44 kB / 0.8348 GB, free: 5.711 MB / 0.5105 GB Notification: Performance of SimCode: time 3.1e-07/0.8543, allocations: 0 / 0.8348 GB, free: 5.711 MB / 0.5105 GB Notification: Performance of Templates: time 0.005796/0.8601, allocations: 2.552 MB / 0.8373 GB, free: 3.176 MB / 0.5105 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)