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.1813/0.1836, allocations: 80.84 MB / 0.6706 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.006736/0.1904, allocations: 3.795 MB / 0.6743 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003416/0.1938, allocations: 1.828 MB / 0.6761 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003724/0.1942, allocations: 8 kB / 0.6761 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001564/0.1959, allocations: 0.498 MB / 0.6766 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0007248/0.1966, allocations: 230.9 kB / 0.6768 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006335/0.1973, allocations: 218.7 kB / 0.677 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0007174/0.198, allocations: 474.3 kB / 0.6775 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000748/0.1987, allocations: 357.1 kB / 0.6778 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003263/0.1991, allocations: 191.4 kB / 0.678 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005389/0.1996, allocations: 227.1 kB / 0.6782 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.098e-05/0.1997, allocations: 28 kB / 0.6782 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004921/0.2002, allocations: 247.4 kB / 0.6785 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001505/0.2004, allocations: 123.7 kB / 0.6786 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002099/0.2006, allocations: 175.1 kB / 0.6788 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007932/0.2014, allocations: 0.4907 MB / 0.6792 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2014, allocations: 3.938 kB / 0.6792 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.532e-06/0.2014, allocations: 4 kB / 0.6792 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.717e-05/0.2014, allocations: 0 / 0.6792 GB, free: 9.102 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.001394/0.2028, allocations: 0.6238 MB / 0.6799 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.2029, allocations: 16.03 kB / 0.6799 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001057/0.204, allocations: 124.4 kB / 0.68 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005365/0.2045, allocations: 299.6 kB / 0.6803 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/0.2045, allocations: 25.03 kB / 0.6803 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.948e-05/0.2046, allocations: 28.38 kB / 0.6803 GB, free: 7.906 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007393/0.2053, allocations: 463.8 kB / 0.6808 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.2054, allocations: 4 kB / 0.6808 GB, free: 7.414 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.902e-05/0.2054, allocations: 15.98 kB / 0.6808 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-05/0.2055, allocations: 32.55 kB / 0.6808 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005061/0.206, allocations: 321.9 kB / 0.6811 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00224/0.2082, allocations: 1.772 MB / 0.6829 GB, free: 5.164 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004331/0.2087, allocations: 243.8 kB / 0.6831 GB, free: 4.898 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003078/0.209, allocations: 120.7 kB / 0.6832 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.209, allocations: 0 / 0.6832 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.2091, allocations: 38.56 kB / 0.6832 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 2.565e-06/0.2091, allocations: 0 / 0.6832 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0006861/0.2098, allocations: 295.5 kB / 0.6835 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.2098, allocations: 59.5 kB / 0.6836 GB, free: 4.344 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003003/0.2101, allocations: 274.5 kB / 0.6838 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.2102, allocations: 29.7 kB / 0.6839 GB, free: 4.031 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.2103, allocations: 207.8 kB / 0.6841 GB, free: 3.82 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.129e-05/0.2104, allocations: 47.34 kB / 0.6841 GB, free: 3.773 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.265e-05/0.2105, allocations: 49.86 kB / 0.6842 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.2106, allocations: 334.8 kB / 0.6845 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.2107, allocations: 56.44 kB / 0.6845 GB, free: 3.324 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.2109, allocations: 148 kB / 0.6847 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002628/0.2111, allocations: 222.9 kB / 0.6849 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.2112, allocations: 0 / 0.6849 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004408/0.2116, allocations: 265.2 kB / 0.6851 GB, free: 2.617 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.2116, allocations: 8 kB / 0.6851 GB, free: 2.609 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.2116, allocations: 4 kB / 0.6852 GB, free: 2.605 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001735/0.2118, allocations: 24.84 kB / 0.6852 GB, free: 2.578 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.212, allocations: 47.92 kB / 0.6852 GB, free: 2.531 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001288/0.2133, allocations: 1.43 MB / 0.6866 GB, free: 0.9648 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/0.2135, allocations: 27.69 kB / 0.6866 GB, free: 0.9375 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.2135, allocations: 8 kB / 0.6867 GB, free: 0.9297 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.0001964/0.2137, allocations: 173.8 kB / 0.6868 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.689e-05/0.2138, allocations: 27.72 kB / 0.6868 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.285e-05/0.2139, allocations: 29.83 kB / 0.6869 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.2139, allocations: 0 / 0.6869 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.2139, allocations: 4 kB / 0.6869 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.2139, allocations: 0 / 0.6869 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.215, allocations: 0.6407 MB / 0.6875 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.215, allocations: 4 kB / 0.6875 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.541e-05/0.2151, allocations: 23.92 kB / 0.6875 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001001/0.2152, allocations: 32.97 kB / 0.6876 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.402e-05/0.2152, allocations: 7.984 kB / 0.6876 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001204/0.2164, allocations: 1.414 MB / 0.6889 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.2165, allocations: 7.922 kB / 0.689 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004229/0.2169, allocations: 321.2 kB / 0.6893 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.217, allocations: 116.8 kB / 0.6894 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.016e-05/0.2171, allocations: 4 kB / 0.6894 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001653/0.2172, allocations: 12.08 kB / 0.6894 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.2173, allocations: 31.8 kB / 0.6894 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.2173, allocations: 4 kB / 0.6894 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002047/0.2175, allocations: 190 kB / 0.6896 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2175, allocations: 0 / 0.6896 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004628/0.218, allocations: 75.84 kB / 0.6897 GB, free: 13.54 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.0001359/0.2181, allocations: 99.25 kB / 0.6898 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004719/0.2186, allocations: 274.3 kB / 0.69 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.2186, allocations: 0 / 0.69 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002227/0.2189, allocations: 191.7 kB / 0.6902 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000492/0.2194, allocations: 59.78 kB / 0.6903 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009578/0.2203, allocations: 0.5396 MB / 0.6908 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004135/0.2208, allocations: 0.7909 MB / 0.6916 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001444/0.2209, allocations: 46.27 kB / 0.6916 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.199e-05/0.221, allocations: 19.44 kB / 0.6916 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of SimCode: time 3.21e-07/0.221, allocations: 0 / 0.6916 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of Templates: time 0.007045/0.228, allocations: 2.759 MB / 0.6943 GB, free: 8.703 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)