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.7146/0.7146, allocations: 132.3 MB / 144.9 MB, free: 10.54 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.001327/0.001327, allocations: 175 kB / 176.9 MB, free: 2.258 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.45/1.45, 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.001613/0.001613, allocations: 123.1 kB / 450 MB, free: 5.855 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.532/0.5321, allocations: 73.38 MB / 0.6736 GB, free: 47.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1726/0.7048, allocations: 123.6 MB / 0.7943 GB, free: 9.066 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002404/0.7051, allocations: 92.62 kB / 0.7944 GB, free: 8.977 MB / 0.4948 GB [/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.02074/0.7258, allocations: 9.614 MB / 0.8038 GB, free: 15.35 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7259, allocations: 0 / 0.8038 GB, free: 15.35 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.492e-05/0.7259, allocations: 4 kB / 0.8038 GB, free: 15.34 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0005132/0.7264, allocations: 421.3 kB / 0.8042 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.7265, allocations: 8.031 kB / 0.8042 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000393/0.7269, allocations: 50.61 kB / 0.8043 GB, free: 14.83 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002472/0.7271, allocations: 210.8 kB / 0.8045 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.7271, allocations: 8.281 kB / 0.8045 GB, free: 14.58 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.002e-05/0.7272, allocations: 16 kB / 0.8045 GB, free: 14.56 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003603/0.7275, allocations: 218.6 kB / 0.8047 GB, free: 14.33 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.7276, allocations: 0 / 0.8047 GB, free: 14.33 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.434e-05/0.7276, allocations: 15.98 kB / 0.8047 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.859e-05/0.7276, allocations: 8.281 kB / 0.8047 GB, free: 14.31 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000225/0.7279, allocations: 148.7 kB / 0.8049 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.7289, allocations: 0.9388 MB / 0.8058 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.718e-05/0.729, allocations: 30.52 kB / 0.8058 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.838e-05/0.729, allocations: 16.11 kB / 0.8058 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 8.816e-06/0.729, allocations: 96 / 0.8058 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.729, allocations: 38.55 kB / 0.8059 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.729, allocations: 0 / 0.8059 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0001543/0.7292, allocations: 53.59 kB / 0.8059 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.7293, allocations: 55.41 kB / 0.806 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.7294, allocations: 168.1 kB / 0.8061 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.7294, allocations: 25.7 kB / 0.8061 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.231e-05/0.7295, allocations: 147.3 kB / 0.8063 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.261e-05/0.7296, allocations: 11.84 kB / 0.8063 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-06/0.7296, allocations: 4 kB / 0.8063 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.7297, allocations: 318.8 kB / 0.8066 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.607e-05/0.7297, allocations: 20 kB / 0.8066 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.997e-05/0.7298, allocations: 89.44 kB / 0.8067 GB, free: 12.09 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.423e-05/0.7299, allocations: 35.95 kB / 0.8067 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.7299, allocations: 7.938 kB / 0.8068 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001737/0.7301, allocations: 129.4 kB / 0.8069 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003571/0.7304, allocations: 0.964 MB / 0.8078 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.7305, allocations: 4 kB / 0.8078 GB, free: 10.87 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.7305, allocations: 4 kB / 0.8078 GB, free: 10.87 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.7306, allocations: 27.98 kB / 0.8079 GB, free: 10.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.7306, allocations: 7.938 kB / 0.8079 GB, free: 10.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.927e-05/0.7307, allocations: 11.84 kB / 0.8079 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.7307, allocations: 8 kB / 0.8079 GB, free: 10.81 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.7307, allocations: 7.953 kB / 0.8079 GB, free: 10.8 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001477/0.7309, allocations: 99.73 kB / 0.808 GB, free: 10.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.7309, allocations: 4 kB / 0.808 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.022e-06/0.7309, allocations: 4 kB / 0.808 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.42e-05/0.731, allocations: 20 kB / 0.808 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.731, allocations: 3.938 kB / 0.808 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.144e-05/0.7311, allocations: 23.77 kB / 0.808 GB, free: 10.65 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.7311, allocations: 8 kB / 0.808 GB, free: 10.64 MB / 0.5105 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 () * 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 8.201e-05/0.7312, allocations: 109.3 kB / 0.8081 GB, free: 10.53 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.122e-05/0.7312, allocations: 11.86 kB / 0.8082 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.41e-05/0.7313, allocations: 12.94 kB / 0.8082 GB, free: 10.51 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.7313, allocations: 0 / 0.8082 GB, free: 10.51 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.7313, allocations: 0 / 0.8082 GB, free: 10.51 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.7313, allocations: 0 / 0.8082 GB, free: 10.51 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004291/0.7317, allocations: 460.2 kB / 0.8086 GB, free: 9.992 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.7317, allocations: 8.031 kB / 0.8086 GB, free: 9.984 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.553e-05/0.7318, allocations: 7.984 kB / 0.8086 GB, free: 9.977 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.7318, allocations: 0 / 0.8086 GB, free: 9.977 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.7318, allocations: 0 / 0.8086 GB, free: 9.977 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.7318, allocations: 2 kB / 0.8086 GB, free: 9.977 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.7318, allocations: 4 kB / 0.8086 GB, free: 9.973 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001356/0.732, allocations: 122.1 kB / 0.8087 GB, free: 9.816 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.35e-05/0.732, allocations: 96.94 kB / 0.8088 GB, free: 9.703 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.7321, allocations: 0 / 0.8088 GB, free: 9.703 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.118e-05/0.7321, allocations: 0 / 0.8088 GB, free: 9.703 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.19e-05/0.7321, allocations: 4 kB / 0.8088 GB, free: 9.699 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.7321, allocations: 0 / 0.8088 GB, free: 9.699 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001152/0.7323, allocations: 141.5 kB / 0.809 GB, free: 9.562 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7323, allocations: 4 kB / 0.809 GB, free: 9.559 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003462/0.7326, allocations: 59.75 kB / 0.809 GB, free: 9.5 MB / 0.5105 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 () * 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.0001506/0.7328, allocations: 99.19 kB / 0.8091 GB, free: 9.395 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001988/0.733, allocations: 100.6 kB / 0.8092 GB, free: 9.297 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.733, allocations: 4.375 kB / 0.8092 GB, free: 9.293 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.048e-05/0.733, allocations: 15.94 kB / 0.8093 GB, free: 9.277 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.7333, allocations: 21.41 kB / 0.8093 GB, free: 9.258 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004053/0.7337, allocations: 172.5 kB / 0.8094 GB, free: 9.066 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003951/0.7341, allocations: 0.7284 MB / 0.8101 GB, free: 8.312 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001078/0.7342, allocations: 33.98 kB / 0.8102 GB, free: 8.281 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.359e-05/0.7342, allocations: 11.44 kB / 0.8102 GB, free: 8.27 MB / 0.5105 GB Notification: Performance of SimCode: time 4.41e-07/0.7342, allocations: 4 kB / 0.8102 GB, free: 8.266 MB / 0.5105 GB Notification: Performance of Templates: time 0.00354/0.7378, allocations: 0.8589 MB / 0.811 GB, free: 7.43 MB / 0.5105 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)