Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.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.AC.OnePhase.Sensors.Examples.Probe,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe") [/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.1885/0.1904, allocations: 80.83 MB / 0.5897 GB, free: 7.098 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.006167/0.1967, allocations: 4.132 MB / 0.5937 GB, free: 2.938 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003842/0.2005, allocations: 2.319 MB / 0.596 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002249/0.2008, allocations: 8 kB / 0.596 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001417/0.2023, allocations: 0.5175 MB / 0.5965 GB, free: 84 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006894/0.203, allocations: 266.9 kB / 0.5968 GB, free: 15.82 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009192/0.2039, allocations: 303.4 kB / 0.597 GB, free: 15.52 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007047/0.2046, allocations: 0.8064 MB / 0.5978 GB, free: 14.71 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006499/0.2053, allocations: 384.2 kB / 0.5982 GB, free: 14.34 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002395/0.2055, allocations: 195.2 kB / 0.5984 GB, free: 14.15 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004328/0.206, allocations: 299 kB / 0.5987 GB, free: 13.86 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.152e-05/0.206, allocations: 24 kB / 0.5987 GB, free: 13.83 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005036/0.2065, allocations: 291.5 kB / 0.599 GB, free: 13.55 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001562/0.2067, allocations: 171.5 kB / 0.5991 GB, free: 13.38 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001894/0.2069, allocations: 202.9 kB / 0.5993 GB, free: 13.18 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006077/0.2075, allocations: 0.6308 MB / 0.5999 GB, free: 12.55 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2075, allocations: 0 / 0.5999 GB, free: 12.55 MB / 462.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.2075, allocations: 4 kB / 0.6 GB, free: 12.54 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.2076, allocations: 0 / 0.6 GB, free: 12.54 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001223/0.2088, allocations: 0.7059 MB / 0.6006 GB, free: 11.79 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.2088, allocations: 8.031 kB / 0.6006 GB, free: 11.78 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001002/0.2098, allocations: 140.2 kB / 0.6008 GB, free: 11.64 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004468/0.2103, allocations: 317.5 kB / 0.6011 GB, free: 11.29 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.858e-05/0.2103, allocations: 33.36 kB / 0.6011 GB, free: 11.26 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.257e-05/0.2104, allocations: 32.38 kB / 0.6011 GB, free: 11.23 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009248/0.2114, allocations: 0.6224 MB / 0.6018 GB, free: 10.55 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.2114, allocations: 3.938 kB / 0.6018 GB, free: 10.55 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.932e-05/0.2114, allocations: 19.98 kB / 0.6018 GB, free: 10.53 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.323e-05/0.2115, allocations: 40.64 kB / 0.6018 GB, free: 10.49 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007836/0.2123, allocations: 486.1 kB / 0.6023 GB, free: 10.01 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00317/0.2155, allocations: 2.802 MB / 0.605 GB, free: 7.07 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007027/0.2162, allocations: 376.9 kB / 0.6054 GB, free: 6.684 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002454/0.2165, allocations: 165.6 kB / 0.6055 GB, free: 6.516 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.589e-05/0.2165, allocations: 11.97 kB / 0.6055 GB, free: 6.504 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.2166, allocations: 38.5 kB / 0.6056 GB, free: 6.457 MB / 462.1 MB Notification: Performance of pre-optimization done (n=25): time 1.322e-06/0.2166, allocations: 0 / 0.6056 GB, free: 6.457 MB / 462.1 MB Notification: Performance of matching and sorting (n=26): time 0.004596/0.2212, allocations: 1.456 MB / 0.607 GB, free: 4.949 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.2212, allocations: 81.11 kB / 0.6071 GB, free: 4.852 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003471/0.2216, allocations: 332.3 kB / 0.6074 GB, free: 4.52 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.2216, allocations: 33.7 kB / 0.6074 GB, free: 4.48 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001609/0.2218, allocations: 251.1 kB / 0.6077 GB, free: 4.23 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.475e-05/0.2219, allocations: 102.6 kB / 0.6078 GB, free: 4.129 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/0.222, allocations: 90.16 kB / 0.6079 GB, free: 4.035 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.2222, allocations: 334.8 kB / 0.6082 GB, free: 3.699 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002709/0.2224, allocations: 187 kB / 0.6084 GB, free: 3.512 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003733/0.2228, allocations: 350 kB / 0.6087 GB, free: 3.102 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006714/0.2235, allocations: 0.5319 MB / 0.6092 GB, free: 2.496 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.2235, allocations: 4 kB / 0.6092 GB, free: 2.492 MB / 462.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002328/0.2258, allocations: 0.9081 MB / 0.6101 GB, free: 1.57 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.2259, allocations: 11.94 kB / 0.6101 GB, free: 1.559 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.2259, allocations: 4 kB / 0.6101 GB, free: 1.555 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002276/0.2282, allocations: 0.4974 MB / 0.6106 GB, free: 1.051 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003771/0.2286, allocations: 99.81 kB / 0.6107 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005566/0.2341, allocations: 3.771 MB / 0.6144 GB, free: 12.92 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003727/0.2345, allocations: 31.88 kB / 0.6144 GB, free: 12.89 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-05/0.2346, allocations: 27.98 kB / 0.6144 GB, free: 12.86 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003686/0.235, allocations: 306 kB / 0.6147 GB, free: 12.55 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003347/0.2353, allocations: 339.8 kB / 0.615 GB, free: 12.14 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005681/0.2359, allocations: 0.5017 MB / 0.6155 GB, free: 11.56 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.579e-06/0.2359, allocations: 7.938 kB / 0.6155 GB, free: 11.55 MB / 478.1 MB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0007462/0.2366, allocations: 0.533 MB / 0.6161 GB, free: 11.02 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.2367, allocations: 4 kB / 0.6161 GB, free: 11.01 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.2367, allocations: 11.98 kB / 0.6161 GB, free: 11 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.2367, allocations: 8.781 kB / 0.6161 GB, free: 10.99 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003847/0.2371, allocations: 103.8 kB / 0.6162 GB, free: 10.89 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.2371, allocations: 15.98 kB / 0.6162 GB, free: 10.88 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002906/0.2374, allocations: 39.81 kB / 0.6162 GB, free: 10.84 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.523e-05/0.2374, allocations: 20 kB / 0.6163 GB, free: 10.82 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001573/0.2376, allocations: 212 kB / 0.6165 GB, free: 10.6 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.732e-05/0.2377, allocations: 31.62 kB / 0.6165 GB, free: 10.57 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001639/0.2393, allocations: 0.6706 MB / 0.6171 GB, free: 9.887 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.2394, allocations: 8 kB / 0.6172 GB, free: 9.879 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.2394, allocations: 0 / 0.6172 GB, free: 9.879 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/0.2394, allocations: 7.984 kB / 0.6172 GB, free: 9.871 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000862/0.2402, allocations: 0.6637 MB / 0.6178 GB, free: 9.145 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.2403, allocations: 0 / 0.6178 GB, free: 9.145 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001953/0.2405, allocations: 43.91 kB / 0.6179 GB, free: 9.102 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001522/0.242, allocations: 397.3 kB / 0.6182 GB, free: 8.707 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.663e-05/0.242, allocations: 8 kB / 0.6182 GB, free: 8.699 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003759/0.2458, allocations: 3.478 MB / 0.6216 GB, free: 4.953 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.2458, allocations: 3.938 kB / 0.6216 GB, free: 4.949 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001603/0.2474, allocations: 0.8353 MB / 0.6225 GB, free: 4.082 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001631/0.2476, allocations: 136.6 kB / 0.6226 GB, free: 3.93 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.105e-05/0.2477, allocations: 11.98 kB / 0.6226 GB, free: 3.918 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003552/0.248, allocations: 39.89 kB / 0.6226 GB, free: 3.879 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.851e-05/0.2481, allocations: 27.91 kB / 0.6227 GB, free: 3.852 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.125e-05/0.2481, allocations: 11.98 kB / 0.6227 GB, free: 3.84 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002335/0.2484, allocations: 223.1 kB / 0.6229 GB, free: 3.625 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2484, allocations: 4 kB / 0.6229 GB, free: 3.621 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008523/0.2492, allocations: 191.9 kB / 0.6231 GB, free: 3.434 MB / 478.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 (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000187/0.2494, allocations: 107.2 kB / 0.6232 GB, free: 3.316 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001621/0.2511, allocations: 0.9637 MB / 0.6241 GB, free: 2.328 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.2511, allocations: 4.688 kB / 0.6241 GB, free: 2.324 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007199/0.2518, allocations: 477.8 kB / 0.6246 GB, free: 1.832 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006014/0.2524, allocations: 69.19 kB / 0.6246 GB, free: 1.766 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/0.2538, allocations: 0.915 MB / 0.6255 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005088/0.2543, allocations: 0.8431 MB / 0.6264 GB, free: 15.95 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004169/0.2548, allocations: 147.1 kB / 0.6265 GB, free: 15.81 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.423e-05/0.2548, allocations: 23.44 kB / 0.6265 GB, free: 15.79 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2549, allocations: 0 / 0.6265 GB, free: 15.79 MB / 494.1 MB Notification: Performance of Templates: time 0.01115/0.266, allocations: 6.848 MB / 0.6332 GB, free: 8.977 MB / 494.1 MB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1)