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.1846/0.1867, allocations: 80.84 MB / 0.6706 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.006137/0.1929, allocations: 4.096 MB / 0.6746 GB, free: 488 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003785/0.1967, allocations: 2.311 MB / 0.6769 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001901/0.197, allocations: 8 kB / 0.6769 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00146/0.1985, allocations: 0.5292 MB / 0.6774 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0007392/0.1992, allocations: 294.7 kB / 0.6777 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.2002, allocations: 346 kB / 0.678 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0007477/0.201, allocations: 0.5645 MB / 0.6786 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007127/0.2017, allocations: 363.8 kB / 0.6789 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003179/0.2021, allocations: 235.1 kB / 0.6791 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005234/0.2026, allocations: 287 kB / 0.6794 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.025e-05/0.2027, allocations: 36 kB / 0.6794 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005175/0.2032, allocations: 255.6 kB / 0.6797 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000187/0.2034, allocations: 175.5 kB / 0.6799 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002271/0.2036, allocations: 203 kB / 0.6801 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0007886/0.2044, allocations: 0.6346 MB / 0.6807 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.2044, allocations: 0 / 0.6807 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.174e-06/0.2044, allocations: 3.938 kB / 0.6807 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.028e-05/0.2045, allocations: 0 / 0.6807 GB, free: 10.25 MB / 0.5294 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.001311/0.2058, allocations: 0.7098 MB / 0.6814 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.2058, allocations: 8.031 kB / 0.6814 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001013/0.2068, allocations: 140.2 kB / 0.6815 GB, free: 9.348 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004678/0.2073, allocations: 325.5 kB / 0.6818 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.723e-05/0.2074, allocations: 33.36 kB / 0.6819 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.806e-05/0.2075, allocations: 32.38 kB / 0.6819 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009236/0.2084, allocations: 0.6224 MB / 0.6825 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.197e-05/0.2084, allocations: 3.938 kB / 0.6825 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.293e-05/0.2085, allocations: 23.98 kB / 0.6825 GB, free: 8.223 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.142e-05/0.2086, allocations: 40.62 kB / 0.6826 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007605/0.2093, allocations: 474.2 kB / 0.683 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003243/0.2126, allocations: 2.787 MB / 0.6857 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007257/0.2133, allocations: 380.8 kB / 0.6861 GB, free: 4.406 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002523/0.2136, allocations: 177.6 kB / 0.6863 GB, free: 4.227 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.303e-05/0.2136, allocations: 7.984 kB / 0.6863 GB, free: 4.219 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.2137, allocations: 34.56 kB / 0.6863 GB, free: 4.176 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=25): time 2.114e-06/0.2137, allocations: 0 / 0.6863 GB, free: 4.176 MB / 0.5294 GB Notification: Performance of matching and sorting (n=26): time 0.004448/0.2181, allocations: 1.46 MB / 0.6877 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/0.2182, allocations: 81.11 kB / 0.6878 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003904/0.2186, allocations: 328.4 kB / 0.6881 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/0.2186, allocations: 29.7 kB / 0.6881 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001805/0.2188, allocations: 259 kB / 0.6884 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.677e-05/0.2189, allocations: 90.73 kB / 0.6885 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/0.2191, allocations: 98.06 kB / 0.6886 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.2192, allocations: 338.8 kB / 0.6889 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000284/0.2195, allocations: 187 kB / 0.6891 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003748/0.2199, allocations: 342.1 kB / 0.6894 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006561/0.2205, allocations: 0.5392 MB / 0.6899 GB, free: 208 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.2205, allocations: 8 kB / 0.6899 GB, free: 200 kB / 0.5294 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.4349/0.6555, allocations: 0.9045 MB / 0.6908 GB, free: 22.58 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.764e-05/0.6556, allocations: 7.156 kB / 0.6908 GB, free: 22.58 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/0.6556, allocations: 7.688 kB / 0.6908 GB, free: 22.58 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002352/0.658, allocations: 0.4964 MB / 0.6913 GB, free: 22.57 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003986/0.6584, allocations: 93.83 kB / 0.6914 GB, free: 22.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005041/0.6634, allocations: 4.049 MB / 0.6954 GB, free: 19.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004073/0.6638, allocations: 36.64 kB / 0.6954 GB, free: 19.89 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.752e-05/0.6639, allocations: 18.62 kB / 0.6954 GB, free: 19.89 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004239/0.6643, allocations: 312.3 kB / 0.6957 GB, free: 19.8 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003014/0.6646, allocations: 329.9 kB / 0.696 GB, free: 19.59 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005657/0.6652, allocations: 0.514 MB / 0.6965 GB, free: 19.38 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.066e-06/0.6652, allocations: 0 / 0.6965 GB, free: 19.38 MB / 0.5294 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0008105/0.666, allocations: 0.531 MB / 0.697 GB, free: 19.35 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.6661, allocations: 7.688 kB / 0.6971 GB, free: 19.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.6661, allocations: 7.75 kB / 0.6971 GB, free: 19.35 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.263e-06/0.6661, allocations: 8.312 kB / 0.6971 GB, free: 19.35 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003739/0.6665, allocations: 113.1 kB / 0.6972 GB, free: 19.35 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.6665, allocations: 12.12 kB / 0.6972 GB, free: 19.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002757/0.6668, allocations: 34.8 kB / 0.6972 GB, free: 19.35 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.083e-05/0.6668, allocations: 23.36 kB / 0.6972 GB, free: 19.35 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.0001526/0.667, allocations: 212.7 kB / 0.6974 GB, free: 19.16 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.784e-05/0.6671, allocations: 33.94 kB / 0.6975 GB, free: 19.15 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001695/0.6688, allocations: 0.68 MB / 0.6981 GB, free: 19.07 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.6688, allocations: 5.594 kB / 0.6982 GB, free: 19.07 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.6688, allocations: 0 / 0.6982 GB, free: 19.07 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.6688, allocations: 3.25 kB / 0.6982 GB, free: 19.07 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008844/0.6697, allocations: 0.6618 MB / 0.6988 GB, free: 18.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.6697, allocations: 4.328 kB / 0.6988 GB, free: 18.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001796/0.6699, allocations: 44.31 kB / 0.6988 GB, free: 18.75 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001504/0.6714, allocations: 397.9 kB / 0.6992 GB, free: 18.73 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.164e-05/0.6714, allocations: 6.219 kB / 0.6992 GB, free: 18.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003609/0.675, allocations: 3.756 MB / 0.7029 GB, free: 16 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.6751, allocations: 9.172 kB / 0.7029 GB, free: 16 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001707/0.6768, allocations: 0.8239 MB / 0.7037 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001743/0.677, allocations: 142.8 kB / 0.7038 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.341e-05/0.677, allocations: 6.906 kB / 0.7039 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003467/0.6774, allocations: 38.72 kB / 0.7039 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.358e-05/0.6775, allocations: 34.31 kB / 0.7039 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/0.6775, allocations: 9.344 kB / 0.7039 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002478/0.6778, allocations: 227.2 kB / 0.7042 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6778, allocations: 0 / 0.7042 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009243/0.6787, allocations: 188.9 kB / 0.7043 GB, free: 15.52 MB / 0.5294 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.0001759/0.6789, allocations: 103.1 kB / 0.7044 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001723/0.6806, allocations: 0.975 MB / 0.7054 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.6806, allocations: 0.7812 kB / 0.7054 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007945/0.6814, allocations: 496 kB / 0.7059 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006146/0.682, allocations: 75.62 kB / 0.7059 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.6835, allocations: 0.7488 MB / 0.7067 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004027/0.6839, allocations: 0.8451 MB / 0.7075 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004663/0.6844, allocations: 141.7 kB / 0.7076 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.6845, allocations: 32.34 kB / 0.7077 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of SimCode: time 5.21e-07/0.6845, allocations: 0 / 0.7077 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of Templates: time 0.01959/0.7041, allocations: 7.32 MB / 0.7148 GB, free: 13.28 MB / 0.5294 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)