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.001228/0.001228, allocations: 109.6 kB / 16.38 MB, free: 6.48 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.001264/0.001264, allocations: 189.4 kB / 17.31 MB, free: 5.82 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.503/1.503, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.846/1.846, allocations: 292.3 MB / 0.5496 GB, free: 17.52 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.001376/0.001376, allocations: 64.12 kB / 0.6729 GB, free: 5.824 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2211, allocations: 114.6 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.Resistor): time 0.4348/0.6559, allocations: 3.817 MB / 0.7885 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002563/0.6585, allocations: 1.732 MB / 0.7902 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001728/0.6587, allocations: 8.906 kB / 0.7902 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001268/0.6601, allocations: 495.6 kB / 0.7907 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004841/0.6606, allocations: 228.7 kB / 0.7909 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000512/0.6611, allocations: 213.5 kB / 0.7911 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004577/0.6615, allocations: 473.3 kB / 0.7916 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005754/0.6621, allocations: 352.9 kB / 0.7919 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000197/0.6623, allocations: 197.7 kB / 0.7921 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003617/0.6627, allocations: 215.1 kB / 0.7923 GB, free: 46.22 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.642e-05/0.6628, allocations: 30.34 kB / 0.7923 GB, free: 46.22 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003949/0.6632, allocations: 246.4 kB / 0.7926 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.6633, allocations: 126.8 kB / 0.7927 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001615/0.6635, allocations: 168.2 kB / 0.7928 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000522/0.664, allocations: 0.5053 MB / 0.7933 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.664, allocations: 0 / 0.7933 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.305e-06/0.664, allocations: 0.5 kB / 0.7933 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.346e-06/0.664, allocations: 0.625 kB / 0.7933 GB, free: 46.03 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.001053/0.6651, allocations: 0.6279 MB / 0.7939 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.6651, allocations: 10.98 kB / 0.794 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009056/0.6661, allocations: 133.3 kB / 0.7941 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003412/0.6664, allocations: 297.6 kB / 0.7944 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.6664, allocations: 25.92 kB / 0.7944 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.143e-05/0.6665, allocations: 26.5 kB / 0.7944 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000561/0.6671, allocations: 467.8 kB / 0.7949 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.6671, allocations: 1.688 kB / 0.7949 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.196e-05/0.6671, allocations: 10.06 kB / 0.7949 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-05/0.6672, allocations: 40.14 kB / 0.7949 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004094/0.6676, allocations: 323.5 kB / 0.7952 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001745/0.6693, allocations: 2.171 MB / 0.7973 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000308/0.6697, allocations: 251.1 kB / 0.7976 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000249/0.6699, allocations: 118.5 kB / 0.7977 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.6699, allocations: 0 / 0.7977 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.67, allocations: 34.06 kB / 0.7977 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=14): time 1.693e-06/0.67, allocations: 0.5938 kB / 0.7977 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14): time 0.000552/0.6705, allocations: 307.4 kB / 0.798 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.6706, allocations: 54.16 kB / 0.7981 GB, free: 43.1 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/0.6708, allocations: 268 kB / 0.7983 GB, free: 42.99 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.6709, allocations: 31.98 kB / 0.7984 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.671, allocations: 200.9 kB / 0.7985 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.335e-05/0.671, allocations: 48.06 kB / 0.7986 GB, free: 42.79 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.293e-05/0.6711, allocations: 60.09 kB / 0.7987 GB, free: 42.76 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.93e-05/0.6712, allocations: 335.3 kB / 0.799 GB, free: 42.45 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.909e-05/0.6713, allocations: 58.33 kB / 0.799 GB, free: 42.45 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.6714, allocations: 145.2 kB / 0.7992 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002168/0.6716, allocations: 212.2 kB / 0.7994 GB, free: 42.23 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.6717, allocations: 6.406 kB / 0.7994 GB, free: 42.23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003521/0.672, allocations: 274 kB / 0.7996 GB, free: 42.17 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.672, allocations: 5.375 kB / 0.7996 GB, free: 42.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.6721, allocations: 2.531 kB / 0.7996 GB, free: 42.17 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001651/0.6722, allocations: 29.77 kB / 0.7997 GB, free: 42.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.6724, allocations: 48.16 kB / 0.7997 GB, free: 42.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008517/0.6733, allocations: 1.424 MB / 0.8011 GB, free: 40.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001609/0.6734, allocations: 26.09 kB / 0.8011 GB, free: 40.79 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/0.6735, allocations: 13.88 kB / 0.8011 GB, free: 40.79 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.0001419/0.6736, allocations: 164.4 kB / 0.8013 GB, free: 40.68 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.465e-05/0.6737, allocations: 31.97 kB / 0.8013 GB, free: 40.66 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.005e-05/0.6737, allocations: 26.8 kB / 0.8014 GB, free: 40.66 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.6737, allocations: 1.172 kB / 0.8014 GB, free: 40.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.6738, allocations: 4.062 kB / 0.8014 GB, free: 40.65 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.746e-05/0.6739, allocations: 113.9 kB / 0.8015 GB, free: 40.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.805e-05/0.6739, allocations: 6.938 kB / 0.8015 GB, free: 40.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.674, allocations: 8.766 kB / 0.8015 GB, free: 40.54 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.345e-05/0.6741, allocations: 11.23 kB / 0.8015 GB, free: 40.54 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003114/0.6744, allocations: 246.8 kB / 0.8017 GB, free: 40.42 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002757/0.6747, allocations: 386 kB / 0.8021 GB, free: 40.15 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.894e-05/0.6748, allocations: 45.61 kB / 0.8021 GB, free: 40.14 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001689/0.6749, allocations: 192 kB / 0.8023 GB, free: 40.03 MB / 0.6544 GB Notification: Performance of Backend: time 6.61e-07/0.675, allocations: 0 / 0.8023 GB, free: 40.03 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001033/0.676, allocations: 450.9 kB / 0.8028 GB, free: 39.8 MB / 0.6544 GB Notification: Performance of SimCode: time 0.001137/0.6771, allocations: 0.9676 MB / 0.8037 GB, free: 39.04 MB / 0.6544 GB Notification: Performance of Templates: time 0.009392/0.6865, allocations: 3.856 MB / 0.8075 GB, free: 38.77 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)