Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.conf.json 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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001761/0.001761, allocations: 99.28 kB / 16.27 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001971/0.001971, allocations: 187 kB / 17.2 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.389/1.389, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.755/1.755, allocations: 292.3 MB / 0.5495 GB, free: 17.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 66.86 kB / 0.6722 GB, free: 6.621 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2224, allocations: 114.6 MB / 0.784 GB, free: 3.949 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.005774/0.2283, allocations: 3.812 MB / 0.7877 GB, free: 120 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3213/0.5496, allocations: 1.73 MB / 0.7894 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001553/0.5498, allocations: 8.5 kB / 0.7894 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001224/0.551, allocations: 0.4939 MB / 0.7899 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004095/0.5514, allocations: 216.3 kB / 0.7901 GB, free: 46 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004255/0.5519, allocations: 205.5 kB / 0.7903 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003547/0.5522, allocations: 478.8 kB / 0.7908 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004735/0.5527, allocations: 359.2 kB / 0.7911 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001623/0.5529, allocations: 197.7 kB / 0.7913 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002958/0.5532, allocations: 213.4 kB / 0.7915 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.945e-05/0.5532, allocations: 29.41 kB / 0.7915 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003415/0.5536, allocations: 244.2 kB / 0.7918 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.754e-05/0.5537, allocations: 126.4 kB / 0.7919 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001331/0.5538, allocations: 175 kB / 0.7921 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000417/0.5543, allocations: 0.4977 MB / 0.7926 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.5543, allocations: 0 / 0.7926 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.472e-06/0.5543, allocations: 0 / 0.7926 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.5543, allocations: 1.375 kB / 0.7926 GB, free: 45.79 MB / 0.6544 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.0007874/0.5551, allocations: 0.6251 MB / 0.7932 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.01e-05/0.5551, allocations: 7.562 kB / 0.7932 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008257/0.5559, allocations: 134.1 kB / 0.7933 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.5562, allocations: 290.3 kB / 0.7936 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.5562, allocations: 19.47 kB / 0.7936 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.422e-05/0.5563, allocations: 29.81 kB / 0.7936 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005184/0.5568, allocations: 474.7 kB / 0.7941 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.5568, allocations: 0 / 0.7941 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.331e-05/0.5569, allocations: 7.625 kB / 0.7941 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-05/0.5569, allocations: 29.2 kB / 0.7941 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004088/0.5573, allocations: 325.6 kB / 0.7944 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001531/0.5589, allocations: 2.193 MB / 0.7966 GB, free: 43.26 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002908/0.5592, allocations: 250.7 kB / 0.7968 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002068/0.5594, allocations: 107.1 kB / 0.7969 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.04e-05/0.5594, allocations: 3.375 kB / 0.7969 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.5594, allocations: 36.31 kB / 0.7969 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=14): time 1.232e-06/0.5595, allocations: 0 / 0.7969 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14): time 0.0005025/0.56, allocations: 305.7 kB / 0.7972 GB, free: 42.94 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.307e-05/0.56, allocations: 62.45 kB / 0.7973 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/0.5602, allocations: 262 kB / 0.7975 GB, free: 42.77 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.5602, allocations: 28.95 kB / 0.7976 GB, free: 42.74 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.293e-05/0.5603, allocations: 208.5 kB / 0.7978 GB, free: 42.6 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.762e-05/0.5603, allocations: 58.86 kB / 0.7978 GB, free: 42.56 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.966e-05/0.5604, allocations: 49.81 kB / 0.7979 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.453e-05/0.5605, allocations: 332.6 kB / 0.7982 GB, free: 42.22 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.649e-05/0.5606, allocations: 59.73 kB / 0.7982 GB, free: 42.22 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.824e-05/0.5607, allocations: 147.9 kB / 0.7984 GB, free: 42.12 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001832/0.5608, allocations: 211.5 kB / 0.7986 GB, free: 42.01 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.5609, allocations: 0 / 0.7986 GB, free: 42.01 MB / 0.6544 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003338/0.5612, allocations: 266.3 kB / 0.7988 GB, free: 41.95 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.5612, allocations: 8.031 kB / 0.7989 GB, free: 41.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.5612, allocations: 2.531 kB / 0.7989 GB, free: 41.95 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001573/0.5614, allocations: 29.84 kB / 0.7989 GB, free: 41.94 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.5616, allocations: 53.86 kB / 0.7989 GB, free: 41.94 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006858/0.5623, allocations: 1.415 MB / 0.8003 GB, free: 40.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001538/0.5624, allocations: 30.28 kB / 0.8003 GB, free: 40.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.5625, allocations: 12.47 kB / 0.8004 GB, free: 40.57 MB / 0.6544 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.0001154/0.5626, allocations: 168 kB / 0.8005 GB, free: 40.45 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.155e-05/0.5626, allocations: 23.22 kB / 0.8005 GB, free: 40.44 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.103e-05/0.5627, allocations: 29.7 kB / 0.8006 GB, free: 40.44 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.5627, allocations: 0 / 0.8006 GB, free: 40.44 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.5627, allocations: 3.109 kB / 0.8006 GB, free: 40.44 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.5627, allocations: 2.844 kB / 0.8006 GB, free: 40.44 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007036/0.5634, allocations: 0.7063 MB / 0.8013 GB, free: 40.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.5634, allocations: 7.734 kB / 0.8013 GB, free: 40 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.214e-05/0.5635, allocations: 23.61 kB / 0.8013 GB, free: 40 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.442e-05/0.5636, allocations: 30.47 kB / 0.8013 GB, free: 39.99 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.5636, allocations: 6.406 kB / 0.8013 GB, free: 39.99 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006233/0.5642, allocations: 1.419 MB / 0.8027 GB, free: 38.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.5642, allocations: 2.562 kB / 0.8027 GB, free: 38.64 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002493/0.5645, allocations: 317.6 kB / 0.803 GB, free: 38.43 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.872e-05/0.5646, allocations: 114.9 kB / 0.8031 GB, free: 38.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.958e-05/0.5646, allocations: 3.703 kB / 0.8031 GB, free: 38.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.5648, allocations: 11.94 kB / 0.8031 GB, free: 38.31 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.789e-05/0.5648, allocations: 20.41 kB / 0.8032 GB, free: 38.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.5648, allocations: 5.219 kB / 0.8032 GB, free: 38.3 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001407/0.565, allocations: 190.8 kB / 0.8034 GB, free: 38.2 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.81e-07/0.565, allocations: 0 / 0.8034 GB, free: 38.2 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003805/0.5654, allocations: 76.06 kB / 0.8034 GB, free: 38.18 MB / 0.6544 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.177e-05/0.5655, allocations: 109.5 kB / 0.8035 GB, free: 38.08 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004016/0.5659, allocations: 280.5 kB / 0.8038 GB, free: 37.93 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.5659, allocations: 0 / 0.8038 GB, free: 37.93 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001733/0.5661, allocations: 180.8 kB / 0.804 GB, free: 37.8 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004506/0.5665, allocations: 65.36 kB / 0.804 GB, free: 37.79 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007303/0.5673, allocations: 0.5802 MB / 0.8046 GB, free: 37.4 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002068/0.5675, allocations: 0.7942 MB / 0.8054 GB, free: 36.69 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.032e-05/0.5675, allocations: 22.31 kB / 0.8054 GB, free: 36.68 MB / 0.6544 GB Notification: Performance of SimCode: time 1.343e-06/0.5675, allocations: 0 / 0.8054 GB, free: 36.68 MB / 0.6544 GB Notification: Performance of Templates: time 0.007446/0.575, allocations: 4.392 MB / 0.8097 GB, free: 36.42 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)