Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.146/2.146, allocations: 251.1 MB / 266.7 MB, free: 11.66 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001386/0.001386, allocations: 187.3 kB / 326.2 MB, free: 2.871 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.368/2.368, allocations: 205.4 MB / 0.5772 GB, free: 21.16 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008909/0.0008909, allocations: 96.45 kB / 0.6817 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004478/0.000448, allocations: 11.72 kB / 0.7957 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2246, allocations: 106.3 MB / 0.8995 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3163/0.541, allocations: 157.7 MB / 1.053 GB, free: 4.121 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003499/0.5414, allocations: 91.95 kB / 1.054 GB, free: 4.031 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1/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 7.0.1/Electrical/DC/Sensors/GeneralizedSensor.mo:39:3-39: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.6751/1.216, allocations: 16.2 MB / 1.069 GB, free: 154.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.937e-06/1.217, allocations: 7.875 kB / 1.069 GB, free: 154.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.833e-05/1.217, allocations: 6.5 kB / 1.069 GB, free: 154.5 MB / 0.698 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.001996/1.219, allocations: 0.5808 MB / 1.07 GB, free: 154.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.37e-05/1.219, allocations: 9.281 kB / 1.07 GB, free: 154.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002911/1.222, allocations: 141.9 kB / 1.07 GB, free: 154.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/1.223, allocations: 288.7 kB / 1.07 GB, free: 153.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.62e-05/1.223, allocations: 22.14 kB / 1.07 GB, free: 153.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/1.223, allocations: 30.52 kB / 1.07 GB, free: 153.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001866/1.225, allocations: 453.4 kB / 1.071 GB, free: 153.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.372e-05/1.225, allocations: 5 kB / 1.071 GB, free: 153.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.105e-05/1.225, allocations: 22.06 kB / 1.071 GB, free: 153.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001104/1.225, allocations: 26.83 kB / 1.071 GB, free: 153.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001554/1.227, allocations: 315.5 kB / 1.071 GB, free: 153.7 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005161/1.232, allocations: 2.186 MB / 1.073 GB, free: 151.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009391/1.233, allocations: 250.8 kB / 1.074 GB, free: 151.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006318/1.234, allocations: 112.8 kB / 1.074 GB, free: 151.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/1.234, allocations: 2.5 kB / 1.074 GB, free: 151.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/1.234, allocations: 35.36 kB / 1.074 GB, free: 151.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 4.408e-06/1.234, allocations: 0 / 1.074 GB, free: 151.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.0013/1.235, allocations: 307.3 kB / 1.074 GB, free: 151.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/1.235, allocations: 53.59 kB / 1.074 GB, free: 151.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006445/1.236, allocations: 265.9 kB / 1.074 GB, free: 151.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.036e-05/1.236, allocations: 26.33 kB / 1.074 GB, free: 151.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001933/1.236, allocations: 207.5 kB / 1.075 GB, free: 151.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.547e-05/1.236, allocations: 51.19 kB / 1.075 GB, free: 151.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.48e-05/1.237, allocations: 4.438 kB / 1.075 GB, free: 151.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001226/1.237, allocations: 339.2 kB / 1.075 GB, free: 150.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002569/1.237, allocations: 60.31 kB / 1.075 GB, free: 150.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003115/1.237, allocations: 140.4 kB / 1.075 GB, free: 150.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003365/1.238, allocations: 78.55 kB / 1.075 GB, free: 150.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.318e-06/1.238, allocations: 1.406 kB / 1.075 GB, free: 150.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001154/1.239, allocations: 262.3 kB / 1.075 GB, free: 150.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.42e-05/1.239, allocations: 6.656 kB / 1.075 GB, free: 150.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/1.239, allocations: 3.469 kB / 1.075 GB, free: 150.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003186/1.239, allocations: 26.31 kB / 1.076 GB, free: 150.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005765/1.24, allocations: 57.55 kB / 1.076 GB, free: 150.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001718/1.242, allocations: 1.317 MB / 1.077 GB, free: 149.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005506/1.242, allocations: 31.75 kB / 1.077 GB, free: 149.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.201e-05/1.242, allocations: 12.28 kB / 1.077 GB, free: 149.4 MB / 0.698 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 (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 0.0004049/1.243, allocations: 170.7 kB / 1.077 GB, free: 149.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/1.243, allocations: 23.16 kB / 1.077 GB, free: 149.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/1.243, allocations: 35.25 kB / 1.077 GB, free: 149.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/1.243, allocations: 1.25 kB / 1.077 GB, free: 149.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/1.243, allocations: 1.344 kB / 1.077 GB, free: 149.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/1.243, allocations: 4 kB / 1.077 GB, free: 149.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002128/1.245, allocations: 0.7078 MB / 1.078 GB, free: 148.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/1.245, allocations: 1.531 kB / 1.078 GB, free: 148.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002863/1.246, allocations: 25.88 kB / 1.078 GB, free: 148.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002423/1.246, allocations: 27.89 kB / 1.078 GB, free: 148.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.797e-05/1.246, allocations: 3.656 kB / 1.078 GB, free: 148.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001531/1.247, allocations: 1.311 MB / 1.079 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.939e-06/1.248, allocations: 9.391 kB / 1.079 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007675/1.248, allocations: 314.9 kB / 1.079 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002603/1.249, allocations: 116 kB / 1.08 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.458e-05/1.249, allocations: 6.625 kB / 1.08 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004435/1.249, allocations: 15.38 kB / 1.08 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.113e-05/1.249, allocations: 15.06 kB / 1.08 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.591e-05/1.249, allocations: 4.281 kB / 1.08 GB, free: 147.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004455/1.25, allocations: 187.6 kB / 1.08 GB, free: 147.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.12e-07/1.25, allocations: 0 / 1.08 GB, free: 147.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001052/1.251, allocations: 84.38 kB / 1.08 GB, free: 147.1 MB / 0.698 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 (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.0001903/1.251, allocations: 111.4 kB / 1.08 GB, free: 147 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009451/1.252, allocations: 268.2 kB / 1.08 GB, free: 146.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/1.252, allocations: 1.312 kB / 1.08 GB, free: 146.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004486/1.253, allocations: 184.9 kB / 1.08 GB, free: 146.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/1.254, allocations: 56.75 kB / 1.08 GB, free: 146.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002061/1.256, allocations: 0.6428 MB / 1.081 GB, free: 146.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004591/1.256, allocations: 0.797 MB / 1.082 GB, free: 145.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004186/1.257, allocations: 40.84 kB / 1.082 GB, free: 145.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/1.257, allocations: 19.97 kB / 1.082 GB, free: 145.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.472e-06/1.257, allocations: 0 / 1.082 GB, free: 145.7 MB / 0.698 GB Notification: Performance of Templates: time 0.0122/1.269, allocations: 2.494 MB / 1.084 GB, free: 144.6 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)