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.1952/0.1972, allocations: 80.84 MB / 0.6706 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.006251/0.2035, allocations: 3.822 MB / 0.6743 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00326/0.2068, allocations: 1.91 MB / 0.6762 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002266/0.2071, allocations: 11.94 kB / 0.6762 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001435/0.2086, allocations: 450.2 kB / 0.6766 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0007518/0.2093, allocations: 274.7 kB / 0.6769 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006935/0.2101, allocations: 258.9 kB / 0.6772 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0006316/0.2107, allocations: 490.5 kB / 0.6776 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006798/0.2114, allocations: 364.8 kB / 0.678 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003042/0.2117, allocations: 195.3 kB / 0.6782 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004497/0.2122, allocations: 255 kB / 0.6784 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.604e-05/0.2122, allocations: 28 kB / 0.6784 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003662/0.2126, allocations: 187.6 kB / 0.6786 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001289/0.2127, allocations: 127.7 kB / 0.6787 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001824/0.2129, allocations: 175.1 kB / 0.6789 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006115/0.2136, allocations: 498.3 kB / 0.6794 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.2136, allocations: 0 / 0.6794 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.575e-06/0.2136, allocations: 0 / 0.6794 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.2136, allocations: 4 kB / 0.6794 GB, free: 9.008 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.0012/0.2148, allocations: 0.6432 MB / 0.68 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.2149, allocations: 19.97 kB / 0.68 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005904/0.2155, allocations: 88.39 kB / 0.6801 GB, free: 8.211 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00042/0.2159, allocations: 291.6 kB / 0.6804 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.646e-05/0.2159, allocations: 25.02 kB / 0.6804 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.509e-05/0.216, allocations: 28.38 kB / 0.6804 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007828/0.2168, allocations: 490 kB / 0.6809 GB, free: 7.328 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.2168, allocations: 3.938 kB / 0.6809 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.82e-05/0.2168, allocations: 15.98 kB / 0.6809 GB, free: 7.309 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.595e-05/0.2169, allocations: 44.58 kB / 0.681 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000715/0.2176, allocations: 362.3 kB / 0.6813 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002016/0.2197, allocations: 1.685 MB / 0.683 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005486/0.2202, allocations: 210.6 kB / 0.6832 GB, free: 4.895 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003705/0.2206, allocations: 156.8 kB / 0.6833 GB, free: 4.738 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.2206, allocations: 0 / 0.6833 GB, free: 4.738 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.2207, allocations: 34.56 kB / 0.6833 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 1.102e-06/0.2207, allocations: 0 / 0.6833 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.001057/0.2217, allocations: 430 kB / 0.6838 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.2218, allocations: 55.31 kB / 0.6838 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002422/0.222, allocations: 258.7 kB / 0.6841 GB, free: 3.922 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.2221, allocations: 33.7 kB / 0.6841 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.2222, allocations: 211.6 kB / 0.6843 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.693e-05/0.2222, allocations: 63.09 kB / 0.6843 GB, free: 3.609 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.2224, allocations: 53.98 kB / 0.6844 GB, free: 3.551 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.2225, allocations: 338.8 kB / 0.6847 GB, free: 3.211 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002585/0.2228, allocations: 97.91 kB / 0.6848 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003165/0.2231, allocations: 207.5 kB / 0.685 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005707/0.2237, allocations: 316.4 kB / 0.6853 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.2237, allocations: 0 / 0.6853 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007553/0.2244, allocations: 357.8 kB / 0.6857 GB, free: 2.145 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.2245, allocations: 4 kB / 0.6857 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.2245, allocations: 4 kB / 0.6857 GB, free: 2.137 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002192/0.2247, allocations: 41.14 kB / 0.6857 GB, free: 2.094 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002693/0.225, allocations: 63.91 kB / 0.6858 GB, free: 2.031 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001513/0.2265, allocations: 1.441 MB / 0.6872 GB, free: 460 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002482/0.2268, allocations: 43.58 kB / 0.6872 GB, free: 416 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/0.2268, allocations: 16 kB / 0.6872 GB, free: 400 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003592/0.2272, allocations: 216.7 kB / 0.6874 GB, free: 180 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003057/0.2275, allocations: 212.7 kB / 0.6876 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005298/0.228, allocations: 315.1 kB / 0.6879 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.833e-06/0.228, allocations: 3.938 kB / 0.6879 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006434/0.2287, allocations: 337.4 kB / 0.6883 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.2287, allocations: 8.031 kB / 0.6883 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.2287, allocations: 4 kB / 0.6883 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.2287, allocations: 8 kB / 0.6883 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002597/0.229, allocations: 71.89 kB / 0.6883 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.229, allocations: 7.938 kB / 0.6884 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002187/0.2293, allocations: 35.73 kB / 0.6884 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.2293, allocations: 12 kB / 0.6884 GB, free: 15.06 MB / 0.5294 GB 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.0001284/0.2294, allocations: 208.1 kB / 0.6886 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.799e-05/0.2295, allocations: 23.72 kB / 0.6886 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.427e-05/0.2295, allocations: 34.17 kB / 0.6887 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.2295, allocations: 4 kB / 0.6887 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.2296, allocations: 0 / 0.6887 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2296, allocations: 0 / 0.6887 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/0.2308, allocations: 0.7036 MB / 0.6893 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.2308, allocations: 0 / 0.6893 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001813/0.231, allocations: 35.97 kB / 0.6894 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001016/0.2311, allocations: 32.91 kB / 0.6894 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.2311, allocations: 4 kB / 0.6894 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000956/0.2321, allocations: 1.429 MB / 0.6908 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2321, allocations: 4.031 kB / 0.6908 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006057/0.2327, allocations: 371.9 kB / 0.6912 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.2328, allocations: 112.8 kB / 0.6913 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.2329, allocations: 8 kB / 0.6913 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.233, allocations: 15.98 kB / 0.6913 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.811e-05/0.2331, allocations: 15.98 kB / 0.6913 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.066e-05/0.2331, allocations: 19.86 kB / 0.6913 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001638/0.2333, allocations: 178 kB / 0.6915 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2333, allocations: 0 / 0.6915 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005339/0.2338, allocations: 143.5 kB / 0.6916 GB, free: 11.49 MB / 0.5294 GB 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.0001161/0.234, allocations: 110.3 kB / 0.6917 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001048/0.235, allocations: 495.9 kB / 0.6922 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.235, allocations: 4 kB / 0.6922 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003422/0.2354, allocations: 218.5 kB / 0.6924 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004907/0.2359, allocations: 68.69 kB / 0.6925 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008899/0.2368, allocations: 0.5608 MB / 0.693 GB, free: 9.988 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/0.2372, allocations: 0.7957 MB / 0.6938 GB, free: 9.168 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002001/0.2374, allocations: 70.22 kB / 0.6939 GB, free: 9.102 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.708e-05/0.2375, allocations: 23.44 kB / 0.6939 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of SimCode: time 2.4e-07/0.2375, allocations: 0 / 0.6939 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of Templates: time 0.007894/0.2454, allocations: 3.638 MB / 0.6975 GB, free: 5.473 MB / 0.5294 GB 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)