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.8414/0.8414, 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.001115/0.001115, allocations: 170.5 kB / 171.8 MB, free: 2.023 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.738/1.738, allocations: 170.6 MB / 374.2 MB, free: 15.73 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.001951/0.001951, allocations: 120.1 kB / 444.8 MB, free: 9.234 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.5978/0.5978, allocations: 73.4 MB / 0.6666 GB, free: 47 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1853/0.7832, allocations: 123 MB / 0.7867 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003394/0.7837, allocations: 87.27 kB / 0.7868 GB, free: 13.73 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.02286/0.8065, allocations: 9.577 MB / 0.7961 GB, free: 4.176 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.335e-06/0.8066, allocations: 0 / 0.7961 GB, free: 4.176 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.677e-05/0.8066, allocations: 11.98 kB / 0.7961 GB, free: 4.164 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.000589/0.8072, allocations: 413.6 kB / 0.7965 GB, free: 3.715 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/0.8073, allocations: 16.02 kB / 0.7965 GB, free: 3.699 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004299/0.8077, allocations: 46.53 kB / 0.7966 GB, free: 3.656 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002766/0.808, allocations: 214.8 kB / 0.7968 GB, free: 3.406 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.808, allocations: 4 kB / 0.7968 GB, free: 3.402 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.551e-05/0.808, allocations: 9.875 kB / 0.7968 GB, free: 3.395 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002802/0.8083, allocations: 127.8 kB / 0.7969 GB, free: 3.273 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003104/0.8087, allocations: 198.7 kB / 0.7971 GB, free: 3.059 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.8087, allocations: 0 / 0.7971 GB, free: 3.059 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.015e-05/0.8087, allocations: 0 / 0.7971 GB, free: 3.059 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.439e-05/0.8087, allocations: 16.27 kB / 0.7971 GB, free: 3.043 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.8098, allocations: 0.8813 MB / 0.798 GB, free: 2.094 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.235e-05/0.8098, allocations: 26.58 kB / 0.798 GB, free: 2.059 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.917e-05/0.8099, allocations: 12.94 kB / 0.798 GB, free: 2.043 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.073e-06/0.8099, allocations: 0 / 0.798 GB, free: 2.043 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.8099, allocations: 30.56 kB / 0.7981 GB, free: 2.004 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.8099, allocations: 0 / 0.7981 GB, free: 2.004 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001793/0.8101, allocations: 62.94 kB / 0.7981 GB, free: 1.938 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.8102, allocations: 51.41 kB / 0.7982 GB, free: 1.875 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.8103, allocations: 137.4 kB / 0.7983 GB, free: 1.73 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.8103, allocations: 25.7 kB / 0.7983 GB, free: 1.699 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.527e-05/0.8104, allocations: 147.3 kB / 0.7985 GB, free: 1.551 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.54e-05/0.8105, allocations: 15.8 kB / 0.7985 GB, free: 1.535 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-06/0.8105, allocations: 0 / 0.7985 GB, free: 1.535 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.8106, allocations: 322.8 kB / 0.7988 GB, free: 1.211 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.292e-05/0.8107, allocations: 19.98 kB / 0.7988 GB, free: 1.191 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.559e-05/0.8108, allocations: 85.92 kB / 0.7989 GB, free: 1.074 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.659e-05/0.8108, allocations: 35.92 kB / 0.7989 GB, free: 1.039 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.8108, allocations: 0 / 0.7989 GB, free: 1.039 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001846/0.811, allocations: 121.7 kB / 0.799 GB, free: 0.9141 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005433/0.8116, allocations: 0.961 MB / 0.8 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.8116, allocations: 4 kB / 0.8 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.434e-05/0.8116, allocations: 4.938 kB / 0.8 GB, free: 15.87 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.8117, allocations: 27.92 kB / 0.8 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.8118, allocations: 5.328 kB / 0.8 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.94e-05/0.8118, allocations: 11.84 kB / 0.8 GB, free: 15.83 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.8119, allocations: 4 kB / 0.8 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.556e-06/0.8119, allocations: 8 kB / 0.8 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001344/0.812, allocations: 81.39 kB / 0.8001 GB, free: 15.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.812, allocations: 4 kB / 0.8001 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.252e-06/0.812, allocations: 7.953 kB / 0.8001 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.433e-05/0.8121, allocations: 23.94 kB / 0.8001 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.8121, allocations: 6.078 kB / 0.8002 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.622e-05/0.8122, allocations: 8 kB / 0.8002 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.8122, allocations: 8 kB / 0.8002 GB, free: 15.68 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 9.112e-05/0.8123, allocations: 112.9 kB / 0.8003 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.8123, allocations: 7.906 kB / 0.8003 GB, free: 15.56 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.742e-05/0.8124, allocations: 8.344 kB / 0.8003 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.8124, allocations: 3.953 kB / 0.8003 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.8124, allocations: 0 / 0.8003 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.8124, allocations: 0 / 0.8003 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003833/0.8128, allocations: 420.8 kB / 0.8007 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.8128, allocations: 0 / 0.8007 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.661e-05/0.8128, allocations: 5.438 kB / 0.8007 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/0.8129, allocations: 7.953 kB / 0.8007 GB, free: 15.06 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.8129, allocations: 0 / 0.8007 GB, free: 15.06 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.8129, allocations: 0 / 0.8007 GB, free: 15.06 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/0.8129, allocations: 3.938 kB / 0.8007 GB, free: 15.06 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.813, allocations: 122.2 kB / 0.8008 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.973e-05/0.8131, allocations: 88.95 kB / 0.8009 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.8131, allocations: 3.984 kB / 0.8009 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.819e-05/0.8132, allocations: 3.938 kB / 0.8009 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.582e-05/0.8132, allocations: 8 kB / 0.8009 GB, free: 14.78 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.8132, allocations: 1.75 kB / 0.8009 GB, free: 14.78 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 7.634e-05/0.8133, allocations: 110.1 kB / 0.801 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8133, allocations: 0 / 0.801 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003606/0.8137, allocations: 55.78 kB / 0.8011 GB, free: 14.62 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.0001624/0.8138, allocations: 99.19 kB / 0.8012 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001906/0.814, allocations: 96.59 kB / 0.8013 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.814, allocations: 0 / 0.8013 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.848e-05/0.8141, allocations: 12 kB / 0.8013 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002253/0.8143, allocations: 22.34 kB / 0.8013 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003763/0.8147, allocations: 161.1 kB / 0.8015 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.815, allocations: 0.7286 MB / 0.8022 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001013/0.8151, allocations: 25.53 kB / 0.8022 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.198e-05/0.8152, allocations: 15.44 kB / 0.8022 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of SimCode: time 4.21e-07/0.8152, allocations: 0 / 0.8022 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of Templates: time 0.003114/0.8183, allocations: 0.7207 MB / 0.8029 GB, free: 12.71 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)