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/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8268/0.8268, allocations: 132.4 MB / 139.9 MB, free: 2.852 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001117/0.001117, allocations: 186.9 kB / 171.8 MB, free: 4.945 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.681/1.681, allocations: 170.6 MB / 374.2 MB, free: 184 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001526/0.001527, allocations: 107 kB / 444.8 MB, free: 14.17 MB / 314.7 MB [/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.1859/0.186, allocations: 73.42 MB / 0.6666 GB, free: 15.65 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6409/0.8269, allocations: 127.2 MB / 0.7908 GB, free: 4.398 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/0.8272, allocations: 91.95 kB / 0.7909 GB, free: 4.309 MB / 490.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Electrical/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Electrical/DC/Sensors/GeneralizedSensor.mo:38:3-38:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.04093/0.8682, allocations: 16.26 MB / 0.8068 GB, free: 3.848 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.294e-06/0.8682, allocations: 0 / 0.8068 GB, free: 3.848 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.678e-05/0.8683, allocations: 4 kB / 0.8068 GB, free: 3.844 MB / 0.4948 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.001065/0.8693, allocations: 0.5562 MB / 0.8073 GB, free: 3.246 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.8694, allocations: 8.031 kB / 0.8074 GB, free: 3.238 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001145/0.8705, allocations: 135.5 kB / 0.8075 GB, free: 3.105 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005735/0.8711, allocations: 286.4 kB / 0.8078 GB, free: 2.785 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.8712, allocations: 12 kB / 0.8078 GB, free: 2.773 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.253e-05/0.8712, allocations: 16 kB / 0.8078 GB, free: 2.758 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005242/0.8718, allocations: 289.3 kB / 0.8081 GB, free: 2.477 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006362/0.8724, allocations: 399.7 kB / 0.8084 GB, free: 2.047 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.8724, allocations: 4 kB / 0.8084 GB, free: 2.043 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.384e-05/0.8725, allocations: 0 / 0.8084 GB, free: 2.043 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.422e-05/0.8725, allocations: 24.55 kB / 0.8085 GB, free: 2.02 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002159/0.8747, allocations: 1.705 MB / 0.8101 GB, free: 216 kB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003976/0.8751, allocations: 243.8 kB / 0.8104 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002435/0.8753, allocations: 112.8 kB / 0.8105 GB, free: 15.83 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.176e-05/0.8754, allocations: 0 / 0.8105 GB, free: 15.83 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/0.8754, allocations: 34.56 kB / 0.8105 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=14): time 1.103e-06/0.8754, allocations: 4 kB / 0.8105 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14): time 0.0004041/0.8758, allocations: 150.2 kB / 0.8107 GB, free: 15.63 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.8759, allocations: 51.41 kB / 0.8107 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002366/0.8761, allocations: 191.1 kB / 0.8109 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.8762, allocations: 25.7 kB / 0.8109 GB, free: 15.34 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.8763, allocations: 207.4 kB / 0.8111 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.761e-05/0.8764, allocations: 47.39 kB / 0.8112 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.087e-06/0.8764, allocations: 7.938 kB / 0.8112 GB, free: 15.08 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.8765, allocations: 330.8 kB / 0.8115 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.944e-05/0.8766, allocations: 52.45 kB / 0.8115 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.8768, allocations: 131.8 kB / 0.8116 GB, free: 14.53 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.8769, allocations: 67.95 kB / 0.8117 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.8769, allocations: 4 kB / 0.8117 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003898/0.8773, allocations: 239.4 kB / 0.8119 GB, free: 14.22 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.8773, allocations: 4 kB / 0.8119 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.8774, allocations: 4 kB / 0.812 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001719/0.8775, allocations: 33.22 kB / 0.812 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/0.8777, allocations: 47.91 kB / 0.812 GB, free: 14.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0011/0.8788, allocations: 1.264 MB / 0.8133 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001611/0.879, allocations: 15.88 kB / 0.8133 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.879, allocations: 11.94 kB / 0.8133 GB, free: 12.72 MB / 0.5105 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 () * 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 (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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.968e-05/0.8791, allocations: 119 kB / 0.8134 GB, free: 12.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.341e-05/0.8792, allocations: 23.67 kB / 0.8134 GB, free: 12.58 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.569e-05/0.8793, allocations: 25.95 kB / 0.8135 GB, free: 12.56 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.8793, allocations: 4.094 kB / 0.8135 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.8793, allocations: 0 / 0.8135 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.8793, allocations: 0 / 0.8135 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008246/0.8801, allocations: 0.5826 MB / 0.814 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.8801, allocations: 0 / 0.814 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.8803, allocations: 23.98 kB / 0.814 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.418e-05/0.8803, allocations: 28.78 kB / 0.8141 GB, free: 11.85 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.8804, allocations: 0 / 0.8141 GB, free: 11.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00101/0.8814, allocations: 1.265 MB / 0.8153 GB, free: 10.47 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.8814, allocations: 0 / 0.8153 GB, free: 10.47 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003852/0.8818, allocations: 375.6 kB / 0.8157 GB, free: 10.03 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.8819, allocations: 112.8 kB / 0.8158 GB, free: 9.898 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.882, allocations: 4 kB / 0.8158 GB, free: 9.895 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.8821, allocations: 11.98 kB / 0.8158 GB, free: 9.883 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.172e-05/0.8822, allocations: 27.88 kB / 0.8158 GB, free: 9.855 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.8822, allocations: 4 kB / 0.8158 GB, free: 9.852 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001463/0.8823, allocations: 149.6 kB / 0.816 GB, free: 9.707 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8823, allocations: 96 / 0.816 GB, free: 9.707 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004349/0.8828, allocations: 71.69 kB / 0.816 GB, free: 9.637 MB / 0.5105 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 () * 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 (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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000148/0.8829, allocations: 107.1 kB / 0.8161 GB, free: 9.523 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004517/0.8834, allocations: 242.5 kB / 0.8164 GB, free: 9.277 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.8834, allocations: 4 kB / 0.8164 GB, free: 9.273 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002008/0.8836, allocations: 165.8 kB / 0.8165 GB, free: 9.102 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.884, allocations: 37.77 kB / 0.8166 GB, free: 9.066 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007036/0.8847, allocations: 385.6 kB / 0.8169 GB, free: 8.648 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004576/0.8852, allocations: 0.8025 MB / 0.8177 GB, free: 7.816 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001503/0.8853, allocations: 34.06 kB / 0.8177 GB, free: 7.785 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.908e-05/0.8854, allocations: 15.44 kB / 0.8178 GB, free: 7.77 MB / 0.5105 GB Notification: Performance of SimCode: time 2.21e-07/0.8854, allocations: 0 / 0.8178 GB, free: 7.77 MB / 0.5105 GB Notification: Performance of Templates: time 0.005589/0.891, allocations: 2.125 MB / 0.8198 GB, free: 5.668 MB / 0.5105 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)