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.00163/0.00163, allocations: 104.6 kB / 16.36 MB, free: 6.305 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.001865/0.001865, allocations: 188 kB / 17.29 MB, free: 5.875 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.433/1.433, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.759/1.759, allocations: 292.3 MB / 0.5496 GB, free: 17.43 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.002649/0.002649, allocations: 63.91 kB / 0.6729 GB, free: 5.844 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2111, allocations: 114.6 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.3295/0.5407, allocations: 3.816 MB / 0.7885 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002791/0.5435, allocations: 1.736 MB / 0.7902 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001557/0.5437, allocations: 9.938 kB / 0.7902 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001181/0.5449, allocations: 491.7 kB / 0.7907 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004276/0.5454, allocations: 227.2 kB / 0.7909 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004586/0.5458, allocations: 209.2 kB / 0.7911 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004728/0.5463, allocations: 478.6 kB / 0.7915 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005223/0.5468, allocations: 356.4 kB / 0.7919 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001745/0.547, allocations: 197.2 kB / 0.7921 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003177/0.5474, allocations: 213.7 kB / 0.7923 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.778e-05/0.5474, allocations: 28.16 kB / 0.7923 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003494/0.5478, allocations: 248.1 kB / 0.7925 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.96e-05/0.5479, allocations: 124.1 kB / 0.7927 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001272/0.548, allocations: 176.2 kB / 0.7928 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004146/0.5484, allocations: 0.5062 MB / 0.7933 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.5484, allocations: 0 / 0.7933 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5484, allocations: 0 / 0.7933 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.5485, allocations: 2.625 kB / 0.7933 GB, free: 46.11 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.0008039/0.5493, allocations: 0.6213 MB / 0.7939 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.043e-05/0.5493, allocations: 11.56 kB / 0.7939 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00083/0.5501, allocations: 135.1 kB / 0.7941 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002987/0.5505, allocations: 296.1 kB / 0.7944 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.5505, allocations: 21.28 kB / 0.7944 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.722e-05/0.5505, allocations: 27.5 kB / 0.7944 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005132/0.551, allocations: 466 kB / 0.7948 GB, free: 45.28 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.5511, allocations: 2.062 kB / 0.7948 GB, free: 45.28 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.122e-05/0.5511, allocations: 19.02 kB / 0.7949 GB, free: 45.28 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.926e-05/0.5511, allocations: 35.08 kB / 0.7949 GB, free: 45.28 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003761/0.5515, allocations: 319.1 kB / 0.7952 GB, free: 45.28 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001508/0.553, allocations: 2.184 MB / 0.7973 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003023/0.5534, allocations: 244 kB / 0.7976 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000207/0.5536, allocations: 107.8 kB / 0.7977 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.5536, allocations: 9.156 kB / 0.7977 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.654e-05/0.5536, allocations: 37.34 kB / 0.7977 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=14): time 1.322e-06/0.5536, allocations: 0 / 0.7977 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14): time 0.0004957/0.5541, allocations: 300.7 kB / 0.798 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.092e-05/0.5542, allocations: 55.72 kB / 0.7981 GB, free: 43.19 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002322/0.5544, allocations: 274.6 kB / 0.7983 GB, free: 43.07 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.5544, allocations: 29.58 kB / 0.7983 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.268e-05/0.5545, allocations: 203.1 kB / 0.7985 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.834e-05/0.5546, allocations: 51.62 kB / 0.7986 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.172e-05/0.5546, allocations: 51.39 kB / 0.7986 GB, free: 42.85 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.975e-05/0.5547, allocations: 337.6 kB / 0.799 GB, free: 42.53 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.961e-05/0.5548, allocations: 58.22 kB / 0.799 GB, free: 42.53 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.5549, allocations: 143.7 kB / 0.7992 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001939/0.5551, allocations: 213.8 kB / 0.7994 GB, free: 42.32 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.5551, allocations: 4.875 kB / 0.7994 GB, free: 42.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003479/0.5555, allocations: 261.8 kB / 0.7996 GB, free: 42.26 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.5555, allocations: 10.72 kB / 0.7996 GB, free: 42.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.5555, allocations: 6.469 kB / 0.7996 GB, free: 42.26 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001582/0.5557, allocations: 26.39 kB / 0.7997 GB, free: 42.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.5558, allocations: 48.66 kB / 0.7997 GB, free: 42.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007324/0.5566, allocations: 1.426 MB / 0.8011 GB, free: 40.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/0.5567, allocations: 26.52 kB / 0.8011 GB, free: 40.88 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.5568, allocations: 11.03 kB / 0.8011 GB, free: 40.88 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.0001217/0.5569, allocations: 170.8 kB / 0.8013 GB, free: 40.75 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.279e-05/0.5569, allocations: 22.94 kB / 0.8013 GB, free: 40.74 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.699e-05/0.557, allocations: 32.17 kB / 0.8013 GB, free: 40.74 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.557, allocations: 6.438 kB / 0.8013 GB, free: 40.73 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.557, allocations: 0 / 0.8013 GB, free: 40.73 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.557, allocations: 4.125 kB / 0.8014 GB, free: 40.73 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007051/0.5577, allocations: 0.6966 MB / 0.802 GB, free: 40.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.5577, allocations: 2.875 kB / 0.802 GB, free: 40.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.165e-05/0.5578, allocations: 23.17 kB / 0.8021 GB, free: 40.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.042e-05/0.5579, allocations: 28.48 kB / 0.8021 GB, free: 40.22 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.5579, allocations: 13.62 kB / 0.8021 GB, free: 40.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006413/0.5586, allocations: 1.413 MB / 0.8035 GB, free: 38.81 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5586, allocations: 1.312 kB / 0.8035 GB, free: 38.81 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.5588, allocations: 317.3 kB / 0.8038 GB, free: 38.56 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.227e-05/0.5589, allocations: 112.5 kB / 0.8039 GB, free: 38.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.754e-05/0.559, allocations: 5.047 kB / 0.8039 GB, free: 38.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001554/0.5591, allocations: 10.84 kB / 0.8039 GB, free: 38.45 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.939e-05/0.5592, allocations: 25.64 kB / 0.8039 GB, free: 38.44 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.5592, allocations: 9.594 kB / 0.8039 GB, free: 38.43 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001437/0.5593, allocations: 194.5 kB / 0.8041 GB, free: 38.32 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.61e-07/0.5593, allocations: 0 / 0.8041 GB, free: 38.32 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003658/0.5597, allocations: 70.66 kB / 0.8042 GB, free: 38.31 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 9.116e-05/0.5598, allocations: 108.4 kB / 0.8043 GB, free: 38.21 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003788/0.5602, allocations: 281.9 kB / 0.8046 GB, free: 38.05 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.5602, allocations: 2.469 kB / 0.8046 GB, free: 38.05 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001661/0.5604, allocations: 173.7 kB / 0.8047 GB, free: 37.93 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004627/0.5608, allocations: 67.5 kB / 0.8048 GB, free: 37.91 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007281/0.5616, allocations: 0.5766 MB / 0.8054 GB, free: 37.53 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002046/0.5618, allocations: 0.7871 MB / 0.8061 GB, free: 36.82 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.222e-05/0.5619, allocations: 21.09 kB / 0.8061 GB, free: 36.82 MB / 0.6544 GB Notification: Performance of SimCode: time 2.41e-07/0.5619, allocations: 6.75 kB / 0.8062 GB, free: 36.82 MB / 0.6544 GB Notification: Performance of Templates: time 0.007331/0.5692, allocations: 4.382 MB / 0.8104 GB, free: 36.55 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)