Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.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.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.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.1731/0.1751, allocations: 80.84 MB / 0.6706 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.0059/0.1811, allocations: 3.031 MB / 0.6736 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003706/0.1848, allocations: 1.785 MB / 0.6753 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000183/0.1851, allocations: 4 kB / 0.6753 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001092/0.1862, allocations: 330.7 kB / 0.6757 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0006223/0.1868, allocations: 227.1 kB / 0.6759 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005839/0.1874, allocations: 178.3 kB / 0.676 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004115/0.1879, allocations: 314.8 kB / 0.6763 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004545/0.1883, allocations: 244.7 kB / 0.6766 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000216/0.1885, allocations: 131.6 kB / 0.6767 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003547/0.1889, allocations: 167.4 kB / 0.6769 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.105e-05/0.189, allocations: 24 kB / 0.6769 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004851/0.1895, allocations: 243.5 kB / 0.6771 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.1896, allocations: 95.78 kB / 0.6772 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.1897, allocations: 127.4 kB / 0.6773 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005579/0.1903, allocations: 418.7 kB / 0.6777 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.1903, allocations: 0 / 0.6777 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.914e-06/0.1903, allocations: 0 / 0.6777 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.1903, allocations: 0 / 0.6777 GB, free: 10.71 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: 58 * Number of variables: 58 Notification: Performance of Generate backend data structure: time 0.001239/0.1916, allocations: 0.5458 MB / 0.6783 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.1916, allocations: 8.031 kB / 0.6783 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007646/0.1924, allocations: 96.55 kB / 0.6784 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003549/0.1928, allocations: 259.9 kB / 0.6786 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.1928, allocations: 12.81 kB / 0.6786 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.1929, allocations: 32.53 kB / 0.6787 GB, free: 9.68 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006117/0.1935, allocations: 372.4 kB / 0.679 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.1936, allocations: 0 / 0.679 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.258e-05/0.1936, allocations: 4 kB / 0.679 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000107/0.1937, allocations: 32.41 kB / 0.679 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005229/0.1943, allocations: 301.5 kB / 0.6793 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001872/0.1962, allocations: 1.166 MB / 0.6805 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004643/0.1966, allocations: 234.4 kB / 0.6807 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001722/0.1968, allocations: 116.8 kB / 0.6808 GB, free: 7.379 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001521/0.197, allocations: 93.36 kB / 0.6809 GB, free: 7.27 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.197, allocations: 38.55 kB / 0.6809 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 2.284e-06/0.197, allocations: 0 / 0.6809 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of matching and sorting (n=19): time 0.001516/0.1985, allocations: 0.7953 MB / 0.6817 GB, free: 6.379 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.1986, allocations: 59.34 kB / 0.6818 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002881/0.1989, allocations: 190.7 kB / 0.6819 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.1989, allocations: 29.7 kB / 0.682 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.1991, allocations: 167.8 kB / 0.6821 GB, free: 5.91 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.182e-05/0.1991, allocations: 63.11 kB / 0.6822 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.1992, allocations: 57.59 kB / 0.6822 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.1994, allocations: 334.8 kB / 0.6826 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002381/0.1996, allocations: 111.9 kB / 0.6827 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002028/0.1998, allocations: 171 kB / 0.6828 GB, free: 5.152 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004366/0.2003, allocations: 298.4 kB / 0.6831 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.2003, allocations: 4 kB / 0.6831 GB, free: 4.836 MB / 0.5137 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007458/0.201, allocations: 409.9 kB / 0.6835 GB, free: 4.426 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.2011, allocations: 11.94 kB / 0.6835 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.2011, allocations: 0 / 0.6835 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000438/0.2015, allocations: 112.9 kB / 0.6836 GB, free: 4.301 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000264/0.2018, allocations: 47.91 kB / 0.6837 GB, free: 4.254 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002157/0.204, allocations: 1.867 MB / 0.6855 GB, free: 2.246 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002295/0.2042, allocations: 20.27 kB / 0.6855 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.793e-05/0.2042, allocations: 19.92 kB / 0.6855 GB, free: 2.207 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002092/0.2045, allocations: 153.7 kB / 0.6857 GB, free: 2.047 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.654e-05/0.2045, allocations: 23.81 kB / 0.6857 GB, free: 2.023 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005115/0.205, allocations: 295.3 kB / 0.686 GB, free: 1.723 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.205, allocations: 8 kB / 0.686 GB, free: 1.715 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.2051, allocations: 0 / 0.686 GB, free: 1.715 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.2051, allocations: 3.938 kB / 0.686 GB, free: 1.711 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009834/0.2061, allocations: 0.7128 MB / 0.6867 GB, free: 0.9375 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.2061, allocations: 4 kB / 0.6867 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003017/0.2064, allocations: 55.89 kB / 0.6868 GB, free: 0.8789 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.2064, allocations: 7.938 kB / 0.6868 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.674e-05/0.2064, allocations: 11.92 kB / 0.6868 GB, free: 0.8594 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.2064, allocations: 8.062 kB / 0.6868 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2064, allocations: 0 / 0.6868 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000683/0.2071, allocations: 0.5124 MB / 0.6873 GB, free: 324 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001429/0.2073, allocations: 116.9 kB / 0.6874 GB, free: 188 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.865e-05/0.2073, allocations: 11.94 kB / 0.6874 GB, free: 176 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001789/0.2075, allocations: 7.984 kB / 0.6874 GB, free: 168 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.027e-05/0.2076, allocations: 20.05 kB / 0.6874 GB, free: 148 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.2076, allocations: 7.984 kB / 0.6874 GB, free: 140 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002178/0.2078, allocations: 144.1 kB / 0.6876 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.2078, allocations: 0 / 0.6876 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004534/0.2083, allocations: 67.94 kB / 0.6876 GB, free: 15.93 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * 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 (20): * Single equations (assignments): 20 * 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.0002608/0.2086, allocations: 107.2 kB / 0.6877 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0009085/0.2095, allocations: 434.3 kB / 0.6882 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/0.2095, allocations: 0 / 0.6882 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001882/0.2097, allocations: 123.8 kB / 0.6883 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004949/0.2102, allocations: 35 kB / 0.6883 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.2117, allocations: 0.6311 MB / 0.6889 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005418/0.2123, allocations: 0.7714 MB / 0.6897 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001929/0.2125, allocations: 69.89 kB / 0.6898 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.191e-05/0.2125, allocations: 15.44 kB / 0.6898 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of SimCode: time 4.71e-07/0.2125, allocations: 0 / 0.6898 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of Templates: time 0.008161/0.2207, allocations: 2.843 MB / 0.6925 GB, free: 10.86 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1)