Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.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.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad") [/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.1835/0.1843, allocations: 82.22 MB / 0.5935 GB, free: 5.957 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.004447/0.1888, allocations: 3.343 MB / 0.5967 GB, free: 2.594 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00261/0.1914, allocations: 1.778 MB / 0.5985 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001808/0.1916, allocations: 7.938 kB / 0.5985 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002121/0.1918, allocations: 55.56 kB / 0.5985 GB, free: 0.7422 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Electrical/DC/Sensors/GeneralizedSensor.mo:29:54-29:70:writable] Warning: 'each' used when modifying non-array element P. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Electrical/DC/Sensors/GeneralizedSensor.mo:30:13-30:21:writable] Warning: 'each' used when modifying non-array element P. Notification: Performance of NFTyping.typeBindings: time 0.0005326/0.1924, allocations: 215 kB / 0.5987 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005416/0.1929, allocations: 203.6 kB / 0.5989 GB, free: 340 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006037/0.1935, allocations: 0.553 MB / 0.5995 GB, free: 15.78 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004295/0.194, allocations: 332.4 kB / 0.5998 GB, free: 15.43 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001903/0.1942, allocations: 159.3 kB / 0.5999 GB, free: 15.27 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003768/0.1946, allocations: 231.2 kB / 0.6002 GB, free: 15.04 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.847e-05/0.1946, allocations: 20 kB / 0.6002 GB, free: 15.02 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002105/0.1948, allocations: 87.83 kB / 0.6003 GB, free: 14.94 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000119/0.195, allocations: 115.7 kB / 0.6004 GB, free: 14.82 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 6.971e-05/0.195, allocations: 77.58 kB / 0.6004 GB, free: 14.74 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003606/0.1954, allocations: 367.2 kB / 0.6008 GB, free: 14.38 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1954, allocations: 0 / 0.6008 GB, free: 14.38 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1954, allocations: 0 / 0.6008 GB, free: 14.38 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.1954, allocations: 0 / 0.6008 GB, free: 14.38 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001008/0.1965, allocations: 0.608 MB / 0.6014 GB, free: 13.73 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.1965, allocations: 8.031 kB / 0.6014 GB, free: 13.72 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005099/0.197, allocations: 83.47 kB / 0.6015 GB, free: 13.64 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003636/0.1974, allocations: 298.1 kB / 0.6018 GB, free: 13.3 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.57e-05/0.1974, allocations: 24.66 kB / 0.6018 GB, free: 13.28 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.811e-05/0.1975, allocations: 27.98 kB / 0.6018 GB, free: 13.25 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000788/0.1983, allocations: 493.8 kB / 0.6023 GB, free: 12.74 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.1983, allocations: 0 / 0.6023 GB, free: 12.74 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.392e-05/0.1984, allocations: 15.94 kB / 0.6023 GB, free: 12.72 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.555e-05/0.1984, allocations: 40.62 kB / 0.6023 GB, free: 12.68 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007159/0.1991, allocations: 386.3 kB / 0.6027 GB, free: 12.31 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001846/0.201, allocations: 1.685 MB / 0.6043 GB, free: 10.51 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005636/0.2016, allocations: 226.6 kB / 0.6046 GB, free: 10.28 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003647/0.202, allocations: 172.8 kB / 0.6047 GB, free: 10.11 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.202, allocations: 7.938 kB / 0.6047 GB, free: 10.1 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.202, allocations: 30.56 kB / 0.6048 GB, free: 10.06 MB / 462.1 MB Notification: Performance of pre-optimization done (n=18): time 1.313e-06/0.202, allocations: 4 kB / 0.6048 GB, free: 10.05 MB / 462.1 MB Notification: Performance of matching and sorting (n=18): time 0.001045/0.2031, allocations: 457 kB / 0.6052 GB, free: 9.582 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.2031, allocations: 59.41 kB / 0.6053 GB, free: 9.512 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002678/0.2034, allocations: 262.6 kB / 0.6055 GB, free: 9.246 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.2034, allocations: 25.7 kB / 0.6055 GB, free: 9.215 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.2036, allocations: 207.8 kB / 0.6057 GB, free: 9.008 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.852e-05/0.2037, allocations: 67.09 kB / 0.6058 GB, free: 8.941 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.299e-05/0.2037, allocations: 4 kB / 0.6058 GB, free: 8.938 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.2038, allocations: 338.8 kB / 0.6061 GB, free: 8.598 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002316/0.2041, allocations: 100.5 kB / 0.6062 GB, free: 8.5 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003012/0.2044, allocations: 211.6 kB / 0.6064 GB, free: 8.242 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002763/0.2047, allocations: 131.9 kB / 0.6066 GB, free: 8.113 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.2047, allocations: 0 / 0.6066 GB, free: 8.113 MB / 462.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007513/0.2054, allocations: 375.8 kB / 0.6069 GB, free: 7.738 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001629/0.2056, allocations: 202 kB / 0.6071 GB, free: 7.488 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.435e-06/0.2056, allocations: 0 / 0.6071 GB, free: 7.488 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002141/0.2058, allocations: 28.84 kB / 0.6071 GB, free: 7.457 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002692/0.2061, allocations: 75.89 kB / 0.6072 GB, free: 7.383 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001247/0.2074, allocations: 1.343 MB / 0.6085 GB, free: 5.906 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002511/0.2076, allocations: 47.66 kB / 0.6086 GB, free: 5.859 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.235e-05/0.2077, allocations: 16 kB / 0.6086 GB, free: 5.844 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.302e-06/0.2077, allocations: 4 kB / 0.6086 GB, free: 5.84 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005811/0.2083, allocations: 302.9 kB / 0.6089 GB, free: 5.547 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.2083, allocations: 4 kB / 0.6089 GB, free: 5.543 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.534e-06/0.2083, allocations: 4 kB / 0.6089 GB, free: 5.539 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002519/0.2086, allocations: 75.89 kB / 0.6089 GB, free: 5.465 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.2086, allocations: 24.05 kB / 0.609 GB, free: 5.441 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001904/0.2088, allocations: 31.83 kB / 0.609 GB, free: 5.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.2088, allocations: 19.94 kB / 0.609 GB, free: 5.391 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000236/0.209, allocations: 249.8 kB / 0.6093 GB, free: 5.137 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.279e-05/0.2091, allocations: 31.61 kB / 0.6093 GB, free: 5.105 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.084e-05/0.2092, allocations: 26.19 kB / 0.6093 GB, free: 5.086 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.2092, allocations: 8 kB / 0.6093 GB, free: 5.078 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.2092, allocations: 0 / 0.6093 GB, free: 5.078 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.2092, allocations: 3.984 kB / 0.6093 GB, free: 5.074 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001154/0.2104, allocations: 0.7115 MB / 0.61 GB, free: 4.297 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.2104, allocations: 0 / 0.61 GB, free: 4.297 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/0.2106, allocations: 48.03 kB / 0.6101 GB, free: 4.25 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.979e-05/0.2107, allocations: 28.83 kB / 0.6101 GB, free: 4.219 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.2107, allocations: 4 kB / 0.6101 GB, free: 4.215 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009893/0.2117, allocations: 1.32 MB / 0.6114 GB, free: 2.754 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.2117, allocations: 7.984 kB / 0.6114 GB, free: 2.746 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005901/0.2123, allocations: 385.8 kB / 0.6118 GB, free: 2.344 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.2124, allocations: 124.6 kB / 0.6119 GB, free: 2.203 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.476e-05/0.2125, allocations: 0 / 0.6119 GB, free: 2.203 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.2126, allocations: 23.98 kB / 0.6119 GB, free: 2.18 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.962e-05/0.2127, allocations: 23.92 kB / 0.6119 GB, free: 2.156 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.2127, allocations: 8 kB / 0.6119 GB, free: 2.148 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001601/0.2129, allocations: 182 kB / 0.6121 GB, free: 1.969 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2129, allocations: 0 / 0.6121 GB, free: 1.969 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005659/0.2135, allocations: 139.5 kB / 0.6122 GB, free: 1.832 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001372/0.2136, allocations: 103.2 kB / 0.6123 GB, free: 1.723 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001107/0.2147, allocations: 0.5076 MB / 0.6128 GB, free: 1.203 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.2148, allocations: 4.125 kB / 0.6128 GB, free: 1.199 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003651/0.2151, allocations: 229.1 kB / 0.6131 GB, free: 0.9648 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005466/0.2157, allocations: 60.64 kB / 0.6131 GB, free: 0.9062 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.2169, allocations: 0.6853 MB / 0.6138 GB, free: 196 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005437/0.2174, allocations: 0.7996 MB / 0.6146 GB, free: 15.36 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002425/0.2177, allocations: 66.23 kB / 0.6146 GB, free: 15.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.098e-05/0.2178, allocations: 23.44 kB / 0.6146 GB, free: 15.28 MB / 478.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2178, allocations: 0 / 0.6146 GB, free: 15.28 MB / 478.1 MB Notification: Performance of Templates: time 0.007584/0.2254, allocations: 3.111 MB / 0.6177 GB, free: 12.2 MB / 478.1 MB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1) Environment - environmentSimulation: