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.2077/0.2096, allocations: 80.84 MB / 0.5897 GB, free: 7.133 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.006139/0.2158, allocations: 3.856 MB / 0.5934 GB, free: 3.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003255/0.2191, allocations: 1.914 MB / 0.5953 GB, free: 1.324 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001994/0.2193, allocations: 7.938 kB / 0.5953 GB, free: 1.316 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001233/0.2205, allocations: 422.6 kB / 0.5957 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006479/0.2212, allocations: 266.9 kB / 0.596 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005922/0.2218, allocations: 223.2 kB / 0.5962 GB, free: 436 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006489/0.2225, allocations: 0.6935 MB / 0.5969 GB, free: 15.73 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004057/0.2229, allocations: 245.2 kB / 0.5971 GB, free: 15.49 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001925/0.2231, allocations: 171.3 kB / 0.5973 GB, free: 15.32 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000391/0.2235, allocations: 255.1 kB / 0.5975 GB, free: 15.07 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.021e-05/0.2235, allocations: 20 kB / 0.5975 GB, free: 15.05 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004253/0.224, allocations: 231.5 kB / 0.5978 GB, free: 14.83 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001325/0.2241, allocations: 123.7 kB / 0.5979 GB, free: 14.71 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001669/0.2243, allocations: 159.1 kB / 0.598 GB, free: 14.55 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005311/0.2248, allocations: 490.4 kB / 0.5985 GB, free: 14.07 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.2248, allocations: 0 / 0.5985 GB, free: 14.07 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.128e-06/0.2248, allocations: 3.984 kB / 0.5985 GB, free: 14.07 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.2249, allocations: 0 / 0.5985 GB, free: 14.07 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.001187/0.2261, allocations: 0.6698 MB / 0.5991 GB, free: 13.35 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.2261, allocations: 12.03 kB / 0.5992 GB, free: 13.34 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006049/0.2267, allocations: 80.5 kB / 0.5992 GB, free: 13.26 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004715/0.2272, allocations: 295.9 kB / 0.5995 GB, free: 12.93 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.965e-05/0.2272, allocations: 21.03 kB / 0.5995 GB, free: 12.91 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.325e-05/0.2273, allocations: 36.36 kB / 0.5996 GB, free: 12.88 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008998/0.2282, allocations: 486 kB / 0.6 GB, free: 12.37 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.2282, allocations: 0 / 0.6 GB, free: 12.37 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.94e-05/0.2283, allocations: 19.98 kB / 0.6001 GB, free: 12.35 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.265e-05/0.2284, allocations: 36.62 kB / 0.6001 GB, free: 12.32 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007346/0.2291, allocations: 366.2 kB / 0.6004 GB, free: 11.96 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002233/0.2313, allocations: 1.685 MB / 0.6021 GB, free: 10.16 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005491/0.2319, allocations: 220.6 kB / 0.6023 GB, free: 9.938 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003677/0.2323, allocations: 156.8 kB / 0.6024 GB, free: 9.781 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.2323, allocations: 0 / 0.6024 GB, free: 9.781 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.469e-05/0.2324, allocations: 38.56 kB / 0.6025 GB, free: 9.734 MB / 462.1 MB Notification: Performance of pre-optimization done (n=18): time 1.293e-06/0.2324, allocations: 0 / 0.6025 GB, free: 9.734 MB / 462.1 MB Notification: Performance of matching and sorting (n=18): time 0.00109/0.2335, allocations: 427 kB / 0.6029 GB, free: 9.289 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.2335, allocations: 51.41 kB / 0.6029 GB, free: 9.227 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000241/0.2338, allocations: 262.6 kB / 0.6032 GB, free: 8.961 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.2338, allocations: 29.7 kB / 0.6032 GB, free: 8.926 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.234, allocations: 207.8 kB / 0.6034 GB, free: 8.719 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.625e-05/0.234, allocations: 67.09 kB / 0.6035 GB, free: 8.652 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.596e-05/0.2341, allocations: 57.89 kB / 0.6035 GB, free: 8.59 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.2342, allocations: 346.7 kB / 0.6039 GB, free: 8.242 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002551/0.2345, allocations: 97.91 kB / 0.604 GB, free: 8.145 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003256/0.2348, allocations: 199.6 kB / 0.6041 GB, free: 7.898 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005726/0.2354, allocations: 315.2 kB / 0.6044 GB, free: 7.543 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.2354, allocations: 0 / 0.6044 GB, free: 7.543 MB / 462.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008188/0.2363, allocations: 363.8 kB / 0.6048 GB, free: 7.18 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.2363, allocations: 4 kB / 0.6048 GB, free: 7.176 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.2363, allocations: 4 kB / 0.6048 GB, free: 7.172 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002765/0.2366, allocations: 32.84 kB / 0.6048 GB, free: 7.137 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003094/0.2369, allocations: 67.89 kB / 0.6049 GB, free: 7.07 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001588/0.2385, allocations: 1.335 MB / 0.6062 GB, free: 5.602 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003509/0.2389, allocations: 47.66 kB / 0.6062 GB, free: 5.555 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.732e-05/0.2389, allocations: 16 kB / 0.6063 GB, free: 5.539 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005181/0.2395, allocations: 209.5 kB / 0.6065 GB, free: 5.332 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003668/0.2398, allocations: 220.6 kB / 0.6067 GB, free: 5.059 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005666/0.2404, allocations: 319.1 kB / 0.607 GB, free: 4.691 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.144e-06/0.2404, allocations: 3.938 kB / 0.607 GB, free: 4.688 MB / 462.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0007011/0.2411, allocations: 340.5 kB / 0.6073 GB, free: 4.352 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.2412, allocations: 4 kB / 0.6073 GB, free: 4.348 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.2412, allocations: 7.938 kB / 0.6073 GB, free: 4.34 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.654e-06/0.2412, allocations: 12.03 kB / 0.6073 GB, free: 4.328 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002616/0.2414, allocations: 71.89 kB / 0.6074 GB, free: 4.258 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.2415, allocations: 7.938 kB / 0.6074 GB, free: 4.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002486/0.2417, allocations: 40.22 kB / 0.6074 GB, free: 4.211 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.949e-05/0.2418, allocations: 12 kB / 0.6075 GB, free: 4.199 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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001521/0.2419, allocations: 192.2 kB / 0.6076 GB, free: 4.004 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.539e-05/0.242, allocations: 27.66 kB / 0.6077 GB, free: 3.977 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.429e-05/0.2421, allocations: 34.17 kB / 0.6077 GB, free: 3.945 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.2421, allocations: 4 kB / 0.6077 GB, free: 3.941 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.2421, allocations: 0 / 0.6077 GB, free: 3.941 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.2421, allocations: 0 / 0.6077 GB, free: 3.941 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/0.2433, allocations: 0.7044 MB / 0.6084 GB, free: 3.172 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.2433, allocations: 4.062 kB / 0.6084 GB, free: 3.168 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001869/0.2435, allocations: 35.97 kB / 0.6084 GB, free: 3.133 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001377/0.2436, allocations: 28.84 kB / 0.6085 GB, free: 3.102 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.2437, allocations: 4 kB / 0.6085 GB, free: 3.098 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001273/0.245, allocations: 1.327 MB / 0.6098 GB, free: 1.629 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.245, allocations: 0 / 0.6098 GB, free: 1.629 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000664/0.2456, allocations: 368.4 kB / 0.6101 GB, free: 1.246 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.2458, allocations: 116.7 kB / 0.6102 GB, free: 1.113 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.22e-05/0.2458, allocations: 8 kB / 0.6102 GB, free: 1.105 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001936/0.246, allocations: 23.97 kB / 0.6102 GB, free: 1.082 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.786e-05/0.2461, allocations: 11.98 kB / 0.6103 GB, free: 1.07 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.2461, allocations: 8 kB / 0.6103 GB, free: 1.062 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001861/0.2463, allocations: 182 kB / 0.6104 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2463, allocations: 0 / 0.6104 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006137/0.2469, allocations: 143.5 kB / 0.6106 GB, free: 0.7461 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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001466/0.2471, allocations: 99.19 kB / 0.6107 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001093/0.2482, allocations: 499.7 kB / 0.6111 GB, free: 144 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.2482, allocations: 0 / 0.6111 GB, free: 144 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003808/0.2486, allocations: 214.6 kB / 0.6114 GB, free: 15.92 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000533/0.2491, allocations: 71.02 kB / 0.6114 GB, free: 15.85 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.2504, allocations: 0.6897 MB / 0.6121 GB, free: 15.13 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004304/0.2509, allocations: 0.8074 MB / 0.6129 GB, free: 14.29 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002423/0.2511, allocations: 74.3 kB / 0.613 GB, free: 14.22 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.016e-05/0.2512, allocations: 23.44 kB / 0.613 GB, free: 14.2 MB / 478.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2512, allocations: 0 / 0.613 GB, free: 14.2 MB / 478.1 MB Notification: Performance of Templates: time 0.00696/0.2582, allocations: 3.23 MB / 0.6161 GB, free: 11 MB / 478.1 MB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile (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)