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/Modelica_StateGraph2 2.0.2/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/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") [/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.2287/0.2298, allocations: 82.22 MB / 0.5941 GB, free: 5.578 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.003059/0.233, allocations: 2.187 MB / 0.5962 GB, free: 3.375 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001285/0.2343, allocations: 0.8102 MB / 0.597 GB, free: 2.562 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.072e-05/0.2344, allocations: 4 kB / 0.597 GB, free: 2.559 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000148/0.2345, allocations: 27.78 kB / 0.5971 GB, free: 2.531 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003156/0.2348, allocations: 115.6 kB / 0.5972 GB, free: 2.418 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002828/0.2351, allocations: 99.81 kB / 0.5973 GB, free: 2.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002901/0.2354, allocations: 295.2 kB / 0.5976 GB, free: 2.031 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002651/0.2357, allocations: 179.6 kB / 0.5977 GB, free: 1.832 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.448e-05/0.2358, allocations: 67.7 kB / 0.5978 GB, free: 1.766 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002673/0.2361, allocations: 91.7 kB / 0.5979 GB, free: 1.676 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.626e-05/0.2361, allocations: 8 kB / 0.5979 GB, free: 1.668 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003155/0.2364, allocations: 139.7 kB / 0.598 GB, free: 1.531 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.38e-05/0.2365, allocations: 47.83 kB / 0.5981 GB, free: 1.484 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.2367, allocations: 93.31 kB / 0.5982 GB, free: 1.387 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003577/0.237, allocations: 215.3 kB / 0.5984 GB, free: 1.176 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.237, allocations: 0 / 0.5984 GB, free: 1.176 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.237, allocations: 0 / 0.5984 GB, free: 1.176 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.2371, allocations: 4 kB / 0.5984 GB, free: 1.172 MB / 446.1 MB 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.0007656/0.2378, allocations: 423.2 kB / 0.5988 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.2379, allocations: 8.031 kB / 0.5988 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005438/0.2384, allocations: 48.7 kB / 0.5988 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003064/0.2388, allocations: 216.1 kB / 0.599 GB, free: 408 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.2388, allocations: 12.66 kB / 0.599 GB, free: 396 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.379e-05/0.2388, allocations: 12.38 kB / 0.5991 GB, free: 384 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004988/0.2394, allocations: 227.9 kB / 0.5993 GB, free: 136 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.2394, allocations: 4.125 kB / 0.5993 GB, free: 132 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.51e-05/0.2394, allocations: 11.94 kB / 0.5993 GB, free: 120 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.862e-05/0.2395, allocations: 16.28 kB / 0.5993 GB, free: 104 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003405/0.2398, allocations: 144.8 kB / 0.5994 GB, free: 15.96 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001237/0.2411, allocations: 0.9335 MB / 0.6004 GB, free: 14.94 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.413e-05/0.2412, allocations: 42.56 kB / 0.6004 GB, free: 14.89 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.743e-05/0.2412, allocations: 24.88 kB / 0.6004 GB, free: 14.86 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.2413, allocations: 0 / 0.6004 GB, free: 14.86 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.2413, allocations: 30.56 kB / 0.6004 GB, free: 14.82 MB / 462.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.2413, allocations: 0 / 0.6004 GB, free: 14.82 MB / 462.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002495/0.2416, allocations: 77.52 kB / 0.6005 GB, free: 14.74 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.2416, allocations: 63.34 kB / 0.6006 GB, free: 14.67 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/0.2418, allocations: 168.7 kB / 0.6007 GB, free: 14.5 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.2419, allocations: 25.7 kB / 0.6008 GB, free: 14.46 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.242, allocations: 147.3 kB / 0.6009 GB, free: 14.32 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/0.242, allocations: 23.78 kB / 0.6009 GB, free: 14.29 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.586e-05/0.2421, allocations: 13.72 kB / 0.6009 GB, free: 14.27 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.2422, allocations: 322.8 kB / 0.6012 GB, free: 13.95 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.179e-05/0.2423, allocations: 19.98 kB / 0.6013 GB, free: 13.93 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.2424, allocations: 89.38 kB / 0.6014 GB, free: 13.81 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001913/0.2426, allocations: 121.3 kB / 0.6015 GB, free: 13.66 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.2426, allocations: 0 / 0.6015 GB, free: 13.66 MB / 462.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002704/0.2429, allocations: 137.3 kB / 0.6016 GB, free: 13.52 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001292/0.243, allocations: 161.8 kB / 0.6018 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.2431, allocations: 4 kB / 0.6018 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.2431, allocations: 8 kB / 0.6018 GB, free: 13.31 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.2432, allocations: 27.94 kB / 0.6018 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/0.2433, allocations: 7.984 kB / 0.6018 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.227e-05/0.2434, allocations: 11.84 kB / 0.6018 GB, free: 13.26 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.2434, allocations: 8 kB / 0.6018 GB, free: 13.25 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.307e-06/0.2434, allocations: 6.188 kB / 0.6018 GB, free: 13.25 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001907/0.2436, allocations: 99.97 kB / 0.6019 GB, free: 13.15 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2436, allocations: 4 kB / 0.6019 GB, free: 13.15 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.031e-06/0.2436, allocations: 3.984 kB / 0.6019 GB, free: 13.14 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.2438, allocations: 23.94 kB / 0.6019 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.2438, allocations: 7.938 kB / 0.602 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.207e-05/0.2439, allocations: 11.84 kB / 0.602 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.2439, allocations: 8 kB / 0.602 GB, free: 13.09 MB / 462.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001819/0.2441, allocations: 221.8 kB / 0.6022 GB, free: 12.87 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.2441, allocations: 11.84 kB / 0.6022 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.228e-05/0.2442, allocations: 17 kB / 0.6022 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.2442, allocations: 0 / 0.6022 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.2442, allocations: 0 / 0.6022 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.2442, allocations: 3.938 kB / 0.6022 GB, free: 12.83 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005335/0.2447, allocations: 473.4 kB / 0.6027 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.2448, allocations: 4.125 kB / 0.6027 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.822e-05/0.2448, allocations: 11.98 kB / 0.6027 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.2448, allocations: 11.88 kB / 0.6027 GB, free: 12.27 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.2449, allocations: 0 / 0.6027 GB, free: 12.27 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.083e-06/0.2449, allocations: 0 / 0.6027 GB, free: 12.27 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.2449, allocations: 7.984 kB / 0.6027 GB, free: 12.27 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001503/0.245, allocations: 107.6 kB / 0.6028 GB, free: 12.13 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.216e-05/0.2451, allocations: 100.9 kB / 0.6029 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.2451, allocations: 0 / 0.6029 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.639e-05/0.2452, allocations: 0 / 0.6029 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.356e-05/0.2452, allocations: 7.938 kB / 0.6029 GB, free: 12.01 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.2452, allocations: 4 kB / 0.6029 GB, free: 12 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001218/0.2454, allocations: 127.9 kB / 0.603 GB, free: 11.88 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2454, allocations: 0 / 0.603 GB, free: 11.88 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004405/0.2458, allocations: 55.84 kB / 0.6031 GB, free: 11.82 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001147/0.246, allocations: 99.23 kB / 0.6032 GB, free: 11.72 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002919/0.2463, allocations: 108.8 kB / 0.6033 GB, free: 11.61 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.2463, allocations: 0 / 0.6033 GB, free: 11.61 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 3.142e-05/0.2463, allocations: 12.19 kB / 0.6033 GB, free: 11.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/0.2467, allocations: 27.92 kB / 0.6033 GB, free: 11.57 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006374/0.2473, allocations: 336.9 kB / 0.6036 GB, free: 11.21 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/0.2477, allocations: 0.728 MB / 0.6044 GB, free: 10.45 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001203/0.2478, allocations: 24.62 kB / 0.6044 GB, free: 10.43 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.669e-05/0.2479, allocations: 15.44 kB / 0.6044 GB, free: 10.41 MB / 462.1 MB Notification: Performance of SimCode: time 7.61e-07/0.2479, allocations: 0 / 0.6044 GB, free: 10.41 MB / 462.1 MB Notification: Performance of Templates: time 0.004223/0.2521, allocations: 0.8085 MB / 0.6052 GB, free: 9.625 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: