Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.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.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor") [/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.1842/0.1862, allocations: 80.84 MB / 0.6706 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.005371/0.1916, allocations: 3.791 MB / 0.6743 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002733/0.1944, allocations: 1.828 MB / 0.6761 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001462/0.1946, allocations: 8 kB / 0.6761 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001334/0.1959, allocations: 498 kB / 0.6766 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0005063/0.1964, allocations: 242.8 kB / 0.6768 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004808/0.1969, allocations: 207.5 kB / 0.677 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004745/0.1974, allocations: 478.3 kB / 0.6775 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005334/0.198, allocations: 357.1 kB / 0.6778 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001999/0.1982, allocations: 199.3 kB / 0.678 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003606/0.1985, allocations: 227.2 kB / 0.6782 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.36e-05/0.1986, allocations: 28 kB / 0.6782 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003737/0.199, allocations: 247.4 kB / 0.6785 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001275/0.1991, allocations: 123.7 kB / 0.6786 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001637/0.1993, allocations: 171.1 kB / 0.6788 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005306/0.1998, allocations: 0.5023 MB / 0.6792 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1998, allocations: 0 / 0.6792 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1998, allocations: 0 / 0.6792 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.1998, allocations: 0 / 0.6792 GB, free: 9.148 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0009776/0.2008, allocations: 0.6238 MB / 0.6799 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.2009, allocations: 8.031 kB / 0.6799 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008679/0.2018, allocations: 136.4 kB / 0.68 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003716/0.2021, allocations: 291.6 kB / 0.6803 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.2022, allocations: 25.02 kB / 0.6803 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.371e-05/0.2022, allocations: 36.31 kB / 0.6803 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006421/0.2029, allocations: 463.9 kB / 0.6808 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.2029, allocations: 4 kB / 0.6808 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.475e-05/0.2029, allocations: 16 kB / 0.6808 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.574e-05/0.203, allocations: 24.55 kB / 0.6808 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004689/0.2035, allocations: 321.9 kB / 0.6811 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0018/0.2053, allocations: 1.779 MB / 0.6829 GB, free: 5.207 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003507/0.2056, allocations: 247.8 kB / 0.6831 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002129/0.2059, allocations: 108.8 kB / 0.6832 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.2059, allocations: 7.984 kB / 0.6832 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.2059, allocations: 38.5 kB / 0.6832 GB, free: 4.773 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.353e-06/0.2059, allocations: 0 / 0.6832 GB, free: 4.773 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0005982/0.2065, allocations: 298.5 kB / 0.6835 GB, free: 4.457 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.2066, allocations: 55.41 kB / 0.6836 GB, free: 4.391 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002813/0.2069, allocations: 270.5 kB / 0.6838 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.2069, allocations: 29.7 kB / 0.6839 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.207, allocations: 207.8 kB / 0.6841 GB, free: 3.871 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.649e-05/0.2071, allocations: 47.34 kB / 0.6841 GB, free: 3.824 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.764e-05/0.2071, allocations: 45.86 kB / 0.6842 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.2073, allocations: 338.8 kB / 0.6845 GB, free: 3.43 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.681e-05/0.2074, allocations: 56.44 kB / 0.6845 GB, free: 3.375 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/0.2075, allocations: 148 kB / 0.6847 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002603/0.2078, allocations: 222.1 kB / 0.6849 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.2078, allocations: 0 / 0.6849 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003797/0.2082, allocations: 262.2 kB / 0.6851 GB, free: 2.672 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.2082, allocations: 10.41 kB / 0.6851 GB, free: 2.664 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.2082, allocations: 7.938 kB / 0.6852 GB, free: 2.656 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001626/0.2084, allocations: 28.84 kB / 0.6852 GB, free: 2.625 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.2086, allocations: 43.92 kB / 0.6852 GB, free: 2.582 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001077/0.2097, allocations: 1.422 MB / 0.6866 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.2098, allocations: 27.69 kB / 0.6866 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.2099, allocations: 16 kB / 0.6867 GB, free: 0.9805 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001641/0.21, allocations: 173.8 kB / 0.6868 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.589e-05/0.2101, allocations: 23.72 kB / 0.6868 GB, free: 0.7773 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.629e-05/0.2101, allocations: 25.83 kB / 0.6869 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.2101, allocations: 4 kB / 0.6869 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2101, allocations: 64 / 0.6869 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.2102, allocations: 4 kB / 0.6869 GB, free: 0.7422 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007959/0.211, allocations: 0.6445 MB / 0.6875 GB, free: 20 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.211, allocations: 0 / 0.6875 GB, free: 20 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.2111, allocations: 32.16 kB / 0.6875 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.751e-05/0.2112, allocations: 28.92 kB / 0.6876 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.2112, allocations: 11.88 kB / 0.6876 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009524/0.2121, allocations: 1.414 MB / 0.689 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/0.2122, allocations: 4.031 kB / 0.689 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003213/0.2125, allocations: 329.1 kB / 0.6893 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.2126, allocations: 112.8 kB / 0.6894 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.085e-05/0.2126, allocations: 8 kB / 0.6894 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.2128, allocations: 7.984 kB / 0.6894 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.715e-05/0.2128, allocations: 27.86 kB / 0.6894 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.2129, allocations: 4 kB / 0.6894 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001824/0.213, allocations: 186 kB / 0.6896 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2131, allocations: 0 / 0.6896 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003826/0.2134, allocations: 79.83 kB / 0.6897 GB, free: 13.59 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (14): * Single equations (assignments): 13 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001184/0.2136, allocations: 95.25 kB / 0.6898 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004526/0.214, allocations: 278.3 kB / 0.69 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.214, allocations: 3.938 kB / 0.69 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002023/0.2142, allocations: 178.6 kB / 0.6902 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004666/0.2147, allocations: 69.62 kB / 0.6903 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009938/0.2157, allocations: 0.5396 MB / 0.6908 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004536/0.2162, allocations: 0.7909 MB / 0.6916 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001298/0.2163, allocations: 46.2 kB / 0.6916 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.566e-05/0.2164, allocations: 23.42 kB / 0.6916 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of SimCode: time 3.41e-07/0.2164, allocations: 0 / 0.6916 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of Templates: time 0.005989/0.2224, allocations: 2.712 MB / 0.6943 GB, free: 8.793 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)