Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.257/2.257, allocations: 391.2 MB / 407 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 191 kB / 499.1 MB, free: 4.688 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 222.9 MB / 0.7948 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009344/0.0009342, allocations: 117.6 kB / 0.9329 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001038/0.001038, allocations: 49.03 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2493, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.004197/0.2536, allocations: 3.853 MB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001955/0.2556, allocations: 1.741 MB / 1.224 GB, free: 111.7 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.2557, allocations: 4 kB / 1.224 GB, free: 111.7 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001011/0.2567, allocations: 466.2 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0003405/0.2571, allocations: 211.1 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003621/0.2574, allocations: 195.6 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0003925/0.2578, allocations: 0.6584 MB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000288/0.2581, allocations: 241.2 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.2583, allocations: 171.3 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002666/0.2585, allocations: 219.2 kB / 1.226 GB, free: 109.5 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 3.572e-05/0.2586, allocations: 24 kB / 1.226 GB, free: 109.5 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003398/0.2589, allocations: 307.3 kB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 8.356e-05/0.259, allocations: 119.7 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001245/0.2592, allocations: 163.2 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0003788/0.2595, allocations: 0.5082 MB / 1.227 GB, free: 108.4 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2596, allocations: 0 / 1.227 GB, free: 108.4 MB / 0.823 GB Notification: Performance of FrontEnd: time 7.52e-07/0.2596, allocations: 0 / 1.227 GB, free: 108.4 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.2596, allocations: 0 / 1.227 GB, free: 108.4 MB / 0.823 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.0007709/0.2603, allocations: 0.6328 MB / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.2604, allocations: 11.98 kB / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007685/0.2612, allocations: 136.3 kB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002914/0.2615, allocations: 292.4 kB / 1.228 GB, free: 107.3 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.2615, allocations: 21.03 kB / 1.228 GB, free: 107.3 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.144e-05/0.2615, allocations: 28.38 kB / 1.228 GB, free: 107.2 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004546/0.262, allocations: 467.8 kB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.262, allocations: 0 / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.901e-05/0.262, allocations: 19.98 kB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.704e-05/0.2621, allocations: 28.55 kB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003619/0.2624, allocations: 317.9 kB / 1.229 GB, free: 106.4 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001528/0.264, allocations: 2.197 MB / 1.231 GB, free: 104 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002831/0.2643, allocations: 251.8 kB / 1.231 GB, free: 103.7 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001962/0.2645, allocations: 116.7 kB / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.2645, allocations: 4 kB / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.2645, allocations: 34.56 kB / 1.231 GB, free: 103.5 MB / 0.823 GB Notification: Performance of pre-optimization done (n=14): time 1.292e-06/0.2645, allocations: 0 / 1.231 GB, free: 103.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=14): time 0.0004809/0.265, allocations: 299.3 kB / 1.231 GB, free: 103.2 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.469e-05/0.2651, allocations: 55.34 kB / 1.231 GB, free: 103.1 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.2653, allocations: 266.5 kB / 1.232 GB, free: 102.9 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.2653, allocations: 29.7 kB / 1.232 GB, free: 102.8 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 7.547e-05/0.2654, allocations: 211.7 kB / 1.232 GB, free: 102.6 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.2654, allocations: 43.34 kB / 1.232 GB, free: 102.6 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.669e-05/0.2654, allocations: 49.94 kB / 1.232 GB, free: 102.5 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.052e-05/0.2655, allocations: 338.8 kB / 1.232 GB, free: 102.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.677e-05/0.2656, allocations: 60.44 kB / 1.232 GB, free: 102.1 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.566e-05/0.2657, allocations: 142.9 kB / 1.233 GB, free: 102 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.2659, allocations: 225.8 kB / 1.233 GB, free: 101.7 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.2659, allocations: 0 / 1.233 GB, free: 101.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003122/0.2662, allocations: 266.1 kB / 1.233 GB, free: 101.4 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.2662, allocations: 4 kB / 1.233 GB, free: 101.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.2662, allocations: 4 kB / 1.233 GB, free: 101.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001385/0.2664, allocations: 28.84 kB / 1.233 GB, free: 101.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.2665, allocations: 47.91 kB / 1.233 GB, free: 101.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000674/0.2672, allocations: 1.323 MB / 1.234 GB, free: 99.88 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/0.2674, allocations: 27.69 kB / 1.234 GB, free: 99.86 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.2674, allocations: 8 kB / 1.234 GB, free: 99.85 MB / 0.823 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.0001165/0.2675, allocations: 170.5 kB / 1.235 GB, free: 99.67 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.035e-05/0.2676, allocations: 27.66 kB / 1.235 GB, free: 99.64 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.284e-05/0.2676, allocations: 29.83 kB / 1.235 GB, free: 99.61 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.2676, allocations: 4 kB / 1.235 GB, free: 99.61 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.2676, allocations: 0 / 1.235 GB, free: 99.61 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2676, allocations: 0 / 1.235 GB, free: 99.61 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006677/0.2683, allocations: 0.7063 MB / 1.235 GB, free: 98.81 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2683, allocations: 0 / 1.235 GB, free: 98.81 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.705e-05/0.2684, allocations: 27.97 kB / 1.235 GB, free: 98.79 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.814e-05/0.2685, allocations: 32.97 kB / 1.235 GB, free: 98.75 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.2685, allocations: 4 kB / 1.235 GB, free: 98.75 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005822/0.2691, allocations: 1.319 MB / 1.237 GB, free: 97.29 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.2691, allocations: 0 / 1.237 GB, free: 97.29 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004341/0.2695, allocations: 0.9502 MB / 1.238 GB, free: 96.27 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.637e-05/0.2696, allocations: 112.8 kB / 1.238 GB, free: 96.14 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.184e-05/0.2697, allocations: 3.984 kB / 1.238 GB, free: 96.13 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.2698, allocations: 12 kB / 1.238 GB, free: 96.12 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.658e-05/0.2699, allocations: 19.92 kB / 1.238 GB, free: 96.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.2699, allocations: 8 kB / 1.238 GB, free: 96.09 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001256/0.27, allocations: 193.9 kB / 1.238 GB, free: 95.91 MB / 0.823 GB Notification: Performance of sort global known variables: time 1e-07/0.27, allocations: 0 / 1.238 GB, free: 95.91 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004314/0.2704, allocations: 75.75 kB / 1.238 GB, free: 95.83 MB / 0.823 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 8.521e-05/0.2705, allocations: 103.2 kB / 1.238 GB, free: 95.72 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0003375/0.2709, allocations: 270.4 kB / 1.238 GB, free: 95.45 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.2709, allocations: 4 kB / 1.238 GB, free: 95.44 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001472/0.271, allocations: 182.5 kB / 1.239 GB, free: 95.25 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004503/0.2715, allocations: 59.34 kB / 1.239 GB, free: 95.2 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007438/0.2723, allocations: 0.8008 MB / 1.239 GB, free: 94.34 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000201/0.2725, allocations: 0.8028 MB / 1.24 GB, free: 93.51 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001305/0.2726, allocations: 42.27 kB / 1.24 GB, free: 93.46 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.879e-05/0.2727, allocations: 19.44 kB / 1.24 GB, free: 93.45 MB / 0.823 GB Notification: Performance of SimCode: time 2.6e-07/0.2727, allocations: 4 kB / 1.24 GB, free: 93.44 MB / 0.823 GB Notification: Performance of Templates: time 0.004509/0.2772, allocations: 2.669 MB / 1.243 GB, free: 90.8 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)