Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.DC.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.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8188/0.8188, allocations: 133.7 MB / 148.6 MB, free: 13.48 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.00122/0.00122, allocations: 172.1 kB / 180.8 MB, free: 14.93 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.758/1.758, allocations: 170.7 MB / 383.7 MB, free: 16.16 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.001658/0.001658, allocations: 115.2 kB / 454.6 MB, free: 9.727 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.1693/0.1698, allocations: 73.4 MB / 0.6812 GB, free: 5.559 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4379/0.6078, allocations: 123.7 MB / 0.802 GB, free: 7.332 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/0.6081, allocations: 91.38 kB / 0.8021 GB, free: 7.281 MB / 490.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Electrical/DC/Sensors/GeneralizedSensor.mo:38:3-38:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.01928/0.6274, allocations: 9.698 MB / 0.8115 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6274, allocations: 0 / 0.8115 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.201e-05/0.6274, allocations: 4 kB / 0.8116 GB, free: 14.25 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0004868/0.6279, allocations: 437.6 kB / 0.812 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.6279, allocations: 15.91 kB / 0.812 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003942/0.6283, allocations: 51.2 kB / 0.812 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002405/0.6286, allocations: 210.8 kB / 0.8122 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.6286, allocations: 12.28 kB / 0.8122 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/0.6286, allocations: 12 kB / 0.8123 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003371/0.629, allocations: 226.7 kB / 0.8125 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.629, allocations: 3.938 kB / 0.8125 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.154e-05/0.629, allocations: 10.92 kB / 0.8125 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.587e-05/0.6291, allocations: 8.281 kB / 0.8125 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002284/0.6293, allocations: 152.7 kB / 0.8126 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000993/0.6303, allocations: 0.9378 MB / 0.8136 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.895e-05/0.6304, allocations: 22.58 kB / 0.8136 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.959e-06/0.6304, allocations: 0 / 0.8136 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.6304, allocations: 30.56 kB / 0.8136 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.6304, allocations: 0 / 0.8136 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001547/0.6306, allocations: 73.61 kB / 0.8137 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.6306, allocations: 55.41 kB / 0.8137 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.6308, allocations: 160.9 kB / 0.8139 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.6308, allocations: 25.7 kB / 0.8139 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.942e-05/0.6309, allocations: 147.4 kB / 0.814 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.171e-05/0.6309, allocations: 11.81 kB / 0.8141 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.047e-06/0.6309, allocations: 0 / 0.8141 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.631, allocations: 326.8 kB / 0.8144 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.499e-05/0.6311, allocations: 19.98 kB / 0.8144 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.013e-05/0.6312, allocations: 97.38 kB / 0.8145 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.948e-05/0.6312, allocations: 31.98 kB / 0.8145 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.6312, allocations: 3.938 kB / 0.8145 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000187/0.6314, allocations: 133.3 kB / 0.8146 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003588/0.6318, allocations: 0.967 MB / 0.8156 GB, free: 9.758 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.6318, allocations: 3.984 kB / 0.8156 GB, free: 9.754 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.6318, allocations: 4 kB / 0.8156 GB, free: 9.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.6319, allocations: 23.94 kB / 0.8156 GB, free: 9.727 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.6319, allocations: 4 kB / 0.8156 GB, free: 9.723 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.734e-05/0.632, allocations: 23.83 kB / 0.8156 GB, free: 9.699 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.632, allocations: 4 kB / 0.8157 GB, free: 9.695 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.835e-06/0.6321, allocations: 4 kB / 0.8157 GB, free: 9.691 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001383/0.6322, allocations: 99.67 kB / 0.8157 GB, free: 9.594 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.6322, allocations: 4 kB / 0.8158 GB, free: 9.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.731e-06/0.6322, allocations: 8.219 kB / 0.8158 GB, free: 9.582 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.524e-05/0.6323, allocations: 27.92 kB / 0.8158 GB, free: 9.555 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.6323, allocations: 4 kB / 0.8158 GB, free: 9.551 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.246e-05/0.6324, allocations: 19.84 kB / 0.8158 GB, free: 9.531 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.6324, allocations: 4.312 kB / 0.8158 GB, free: 9.527 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (14): * Single equations (assignments): 14 * 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 prepare postOptimizeDAE: time 0.0001305/0.6325, allocations: 213.6 kB / 0.816 GB, free: 9.309 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.183e-05/0.6326, allocations: 15.84 kB / 0.816 GB, free: 9.293 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.158e-05/0.6326, allocations: 16.92 kB / 0.816 GB, free: 9.273 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.6326, allocations: 0 / 0.816 GB, free: 9.273 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.6326, allocations: 4 kB / 0.8161 GB, free: 9.27 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.6326, allocations: 0 / 0.8161 GB, free: 9.27 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003818/0.633, allocations: 468.2 kB / 0.8165 GB, free: 8.746 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.633, allocations: 0 / 0.8165 GB, free: 8.746 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.56e-05/0.6331, allocations: 4 kB / 0.8165 GB, free: 8.742 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.6331, allocations: 0 / 0.8165 GB, free: 8.742 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.6331, allocations: 4 kB / 0.8165 GB, free: 8.738 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.6331, allocations: 0 / 0.8165 GB, free: 8.738 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.6331, allocations: 0 / 0.8165 GB, free: 8.738 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001115/0.6332, allocations: 126.2 kB / 0.8166 GB, free: 8.578 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.869e-05/0.6333, allocations: 93 kB / 0.8167 GB, free: 8.469 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.6333, allocations: 4 kB / 0.8167 GB, free: 8.465 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.335e-05/0.6333, allocations: 0 / 0.8167 GB, free: 8.465 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.093e-05/0.6334, allocations: 0 / 0.8167 GB, free: 8.465 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.678e-06/0.6334, allocations: 8 kB / 0.8167 GB, free: 8.457 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.538e-05/0.6335, allocations: 136.8 kB / 0.8169 GB, free: 8.324 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6335, allocations: 0 / 0.8169 GB, free: 8.324 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003166/0.6338, allocations: 59.78 kB / 0.8169 GB, free: 8.266 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (3): * Single equations (assignments): 3 * 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.000103/0.6339, allocations: 95.23 kB / 0.817 GB, free: 8.164 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001649/0.6341, allocations: 112.6 kB / 0.8171 GB, free: 8.055 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.6341, allocations: 0 / 0.8171 GB, free: 8.055 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.831e-05/0.6341, allocations: 11.94 kB / 0.8171 GB, free: 8.043 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001738/0.6343, allocations: 16.75 kB / 0.8171 GB, free: 8.027 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004469/0.6347, allocations: 298.3 kB / 0.8174 GB, free: 7.715 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.635, allocations: 0.7358 MB / 0.8181 GB, free: 6.953 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 8.632e-05/0.6351, allocations: 24.62 kB / 0.8182 GB, free: 6.93 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.03e-05/0.6351, allocations: 11.44 kB / 0.8182 GB, free: 6.922 MB / 0.4948 GB Notification: Performance of SimCode: time 2.61e-07/0.6351, allocations: 0 / 0.8182 GB, free: 6.922 MB / 0.4948 GB Notification: Performance of Templates: time 0.002595/0.6377, allocations: 0.7719 MB / 0.8189 GB, free: 6.164 MB / 0.4948 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_3.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1)