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.1609/0.1627, allocations: 80.84 MB / 0.6706 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.005199/0.168, allocations: 4.095 MB / 0.6746 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003204/0.1712, allocations: 2.315 MB / 0.6769 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000159/0.1714, allocations: 4 kB / 0.6769 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001357/0.1728, allocations: 0.5331 MB / 0.6774 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0005466/0.1733, allocations: 294.7 kB / 0.6777 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000727/0.174, allocations: 342.6 kB / 0.678 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005011/0.1746, allocations: 0.5567 MB / 0.6786 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004612/0.175, allocations: 363.8 kB / 0.6789 GB, free: 9.496 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002242/0.1753, allocations: 227.2 kB / 0.6791 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003783/0.1757, allocations: 291 kB / 0.6794 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.236e-05/0.1757, allocations: 35.94 kB / 0.6794 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003456/0.1761, allocations: 255.5 kB / 0.6797 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001414/0.1762, allocations: 175.6 kB / 0.6799 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001817/0.1764, allocations: 218.9 kB / 0.6801 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005627/0.177, allocations: 0.6231 MB / 0.6807 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.177, allocations: 0 / 0.6807 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.443e-06/0.177, allocations: 0 / 0.6807 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.177, allocations: 0 / 0.6807 GB, free: 7.691 MB / 0.5137 GB 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.001017/0.178, allocations: 0.7136 MB / 0.6814 GB, free: 6.93 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.1781, allocations: 11.97 kB / 0.6814 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009353/0.179, allocations: 140.3 kB / 0.6815 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004269/0.1794, allocations: 324.5 kB / 0.6818 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.1795, allocations: 25.38 kB / 0.6818 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.644e-05/0.1795, allocations: 36.38 kB / 0.6819 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007752/0.1803, allocations: 0.6224 MB / 0.6825 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.1804, allocations: 3.938 kB / 0.6825 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.505e-05/0.1804, allocations: 19.98 kB / 0.6825 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.365e-05/0.1805, allocations: 40.62 kB / 0.6826 GB, free: 5.625 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006378/0.1811, allocations: 474.2 kB / 0.683 GB, free: 5.164 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002783/0.1839, allocations: 2.791 MB / 0.6857 GB, free: 2.234 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006352/0.1846, allocations: 384.8 kB / 0.6861 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000222/0.1848, allocations: 177.6 kB / 0.6863 GB, free: 1.66 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.1848, allocations: 4 kB / 0.6863 GB, free: 1.656 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.1849, allocations: 34.56 kB / 0.6863 GB, free: 1.613 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=25): time 1.322e-06/0.1849, allocations: 0 / 0.6863 GB, free: 1.613 MB / 0.5137 GB Notification: Performance of matching and sorting (n=26): time 0.004255/0.1891, allocations: 1.455 MB / 0.6877 GB, free: 108 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.1892, allocations: 85.05 kB / 0.6878 GB, free: 4 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003324/0.1895, allocations: 328.4 kB / 0.6881 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.1896, allocations: 25.7 kB / 0.6881 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.1897, allocations: 267 kB / 0.6884 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.471e-05/0.1898, allocations: 86.75 kB / 0.6885 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.1899, allocations: 94.16 kB / 0.6886 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.1901, allocations: 342.8 kB / 0.6889 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002623/0.1903, allocations: 183 kB / 0.6891 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003556/0.1907, allocations: 338.1 kB / 0.6894 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00064/0.1913, allocations: 0.5391 MB / 0.6899 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1914, allocations: 8 kB / 0.6899 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002128/0.1935, allocations: 0.9044 MB / 0.6908 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.1935, allocations: 11.94 kB / 0.6908 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.1935, allocations: 4 kB / 0.6908 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002197/0.1957, allocations: 0.4935 MB / 0.6913 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003568/0.1961, allocations: 103.8 kB / 0.6914 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005343/0.2015, allocations: 4.058 MB / 0.6954 GB, free: 7.766 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000423/0.2019, allocations: 47.8 kB / 0.6954 GB, free: 7.719 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-05/0.202, allocations: 20.06 kB / 0.6954 GB, free: 7.699 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004172/0.2024, allocations: 305.1 kB / 0.6957 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003224/0.2027, allocations: 331.8 kB / 0.696 GB, free: 6.992 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005828/0.2033, allocations: 0.5068 MB / 0.6965 GB, free: 6.406 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.907e-06/0.2033, allocations: 4 kB / 0.6965 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0007381/0.2041, allocations: 0.5325 MB / 0.6971 GB, free: 5.863 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.2041, allocations: 8 kB / 0.6971 GB, free: 5.855 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2041, allocations: 8.062 kB / 0.6971 GB, free: 5.848 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.063e-06/0.2041, allocations: 8 kB / 0.6971 GB, free: 5.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003701/0.2045, allocations: 107.8 kB / 0.6972 GB, free: 5.734 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.2045, allocations: 19.88 kB / 0.6972 GB, free: 5.715 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002719/0.2048, allocations: 27.88 kB / 0.6972 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.891e-05/0.2048, allocations: 24 kB / 0.6973 GB, free: 5.664 MB / 0.5294 GB 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.0001639/0.205, allocations: 209 kB / 0.6975 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.155e-05/0.2051, allocations: 35.61 kB / 0.6975 GB, free: 5.418 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001573/0.2066, allocations: 0.6657 MB / 0.6981 GB, free: 4.738 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.2067, allocations: 3.938 kB / 0.6981 GB, free: 4.734 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.2067, allocations: 4 kB / 0.6981 GB, free: 4.73 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.2067, allocations: 3.984 kB / 0.6981 GB, free: 4.727 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009717/0.2077, allocations: 0.6599 MB / 0.6988 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.2077, allocations: 3.938 kB / 0.6988 GB, free: 4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001887/0.2079, allocations: 47.84 kB / 0.6988 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001396/0.2093, allocations: 397.3 kB / 0.6992 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.2093, allocations: 8 kB / 0.6992 GB, free: 3.551 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003689/0.213, allocations: 3.757 MB / 0.7029 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.213, allocations: 0 / 0.7029 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001526/0.2146, allocations: 0.8259 MB / 0.7037 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000185/0.2148, allocations: 148.6 kB / 0.7038 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.074e-05/0.2148, allocations: 4 kB / 0.7038 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003444/0.2152, allocations: 39.94 kB / 0.7039 GB, free: 14.44 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.325e-05/0.2152, allocations: 27.91 kB / 0.7039 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.2152, allocations: 8 kB / 0.7039 GB, free: 14.41 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002195/0.2155, allocations: 227.1 kB / 0.7041 GB, free: 14.18 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2155, allocations: 0 / 0.7041 GB, free: 14.18 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007946/0.2163, allocations: 184 kB / 0.7043 GB, free: 14 MB / 0.545 GB 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.0001463/0.2164, allocations: 123.2 kB / 0.7044 GB, free: 13.88 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001471/0.2179, allocations: 0.9671 MB / 0.7054 GB, free: 12.88 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.2179, allocations: 0 / 0.7054 GB, free: 12.88 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000645/0.2186, allocations: 494.8 kB / 0.7058 GB, free: 12.38 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005539/0.2191, allocations: 89.05 kB / 0.7059 GB, free: 12.29 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.2202, allocations: 0.7423 MB / 0.7067 GB, free: 11.52 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.2206, allocations: 0.8431 MB / 0.7075 GB, free: 10.64 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003287/0.2209, allocations: 143.1 kB / 0.7076 GB, free: 10.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.596e-05/0.221, allocations: 31.38 kB / 0.7076 GB, free: 10.47 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.221, allocations: 0 / 0.7076 GB, free: 10.47 MB / 0.545 GB Notification: Performance of Templates: time 0.01063/0.2316, allocations: 7.318 MB / 0.7148 GB, free: 3.184 MB / 0.545 GB 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)