Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource") translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.691/1.691, allocations: 287.4 MB / 303.2 MB, free: 8.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001076/0.001076, allocations: 174.1 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.714/1.714, allocations: 205.4 MB / 0.6305 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007582/0.000758, allocations: 89.36 kB / 0.7438 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004242/0.0004242, allocations: 11.41 kB / 0.8667 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.2602, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.003022/0.2633, allocations: 2.77 MB / 0.982 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001681/0.265, allocations: 1.279 MB / 0.9832 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.2651, allocations: 8 kB / 0.9832 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001889/0.2653, allocations: 43.58 kB / 0.9833 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003389/0.2657, allocations: 119.4 kB / 0.9834 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003414/0.266, allocations: 103.8 kB / 0.9835 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000338/0.2664, allocations: 370.8 kB / 0.9838 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002947/0.2667, allocations: 252.8 kB / 0.9841 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001525/0.2668, allocations: 107.6 kB / 0.9842 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002358/0.2671, allocations: 135.5 kB / 0.9843 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.278e-05/0.2671, allocations: 12 kB / 0.9843 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001714/0.2673, allocations: 83.81 kB / 0.9844 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.954e-05/0.2674, allocations: 71.8 kB / 0.9845 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.609e-05/0.2674, allocations: 65.64 kB / 0.9845 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002533/0.2677, allocations: 267.5 kB / 0.9848 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.2677, allocations: 0 / 0.9848 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.724e-06/0.2677, allocations: 0 / 0.9848 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.2677, allocations: 0 / 0.9848 GB, free: 22.49 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007364/0.2685, allocations: 0.5068 MB / 0.9853 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.2685, allocations: 11.97 kB / 0.9853 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005073/0.269, allocations: 80.5 kB / 0.9854 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.2693, allocations: 249.2 kB / 0.9856 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.2693, allocations: 12.81 kB / 0.9856 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.145e-05/0.2693, allocations: 16.38 kB / 0.9856 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004418/0.2698, allocations: 324.6 kB / 0.986 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.2698, allocations: 0 / 0.986 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.73e-05/0.2698, allocations: 15.97 kB / 0.986 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.32e-05/0.2699, allocations: 16.44 kB / 0.986 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003272/0.2702, allocations: 217.5 kB / 0.9862 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00132/0.2715, allocations: 1.498 MB / 0.9877 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004106/0.272, allocations: 203.7 kB / 0.9878 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.887e-05/0.2721, allocations: 48.84 kB / 0.9879 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.2721, allocations: 3.984 kB / 0.9879 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.2721, allocations: 30.56 kB / 0.9879 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.603e-06/0.2721, allocations: 3.938 kB / 0.9879 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.00051/0.2726, allocations: 275.3 kB / 0.9882 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.946e-05/0.2727, allocations: 51.41 kB / 0.9882 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.2728, allocations: 212.3 kB / 0.9884 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.2729, allocations: 25.7 kB / 0.9885 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.345e-05/0.2729, allocations: 171.7 kB / 0.9886 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/0.273, allocations: 27.56 kB / 0.9887 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.163e-06/0.273, allocations: 4 kB / 0.9887 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.645e-05/0.2731, allocations: 338.8 kB / 0.989 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.612e-05/0.2731, allocations: 39.98 kB / 0.989 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.2733, allocations: 117.5 kB / 0.9891 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002013/0.2735, allocations: 180.4 kB / 0.9893 GB, free: 17.42 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2735, allocations: 0 / 0.9893 GB, free: 17.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003073/0.2738, allocations: 214.2 kB / 0.9895 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.356e-05/0.2738, allocations: 9.719 kB / 0.9895 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.2739, allocations: 0 / 0.9895 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001774/0.274, allocations: 28.84 kB / 0.9895 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.2742, allocations: 31.92 kB / 0.9896 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007102/0.2749, allocations: 1.334 MB / 0.9909 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.275, allocations: 27.69 kB / 0.9909 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.275, allocations: 8.156 kB / 0.9909 GB, free: 15.63 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 17 * 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.0001079/0.2752, allocations: 149.8 kB / 0.9911 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.2752, allocations: 19.75 kB / 0.9911 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3e-05/0.2752, allocations: 25.39 kB / 0.9911 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.2752, allocations: 0 / 0.9911 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.2753, allocations: 96 / 0.9911 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.026e-05/0.2753, allocations: 104.8 kB / 0.9912 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.2753, allocations: 0 / 0.9912 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.2755, allocations: 15.98 kB / 0.9912 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.738e-05/0.2755, allocations: 4 kB / 0.9912 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002976/0.2758, allocations: 214.1 kB / 0.9914 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002785/0.2761, allocations: 342.5 kB / 0.9918 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.96e-05/0.2762, allocations: 39.97 kB / 0.9918 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.511e-05/0.2763, allocations: 140.2 kB / 0.9919 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of Backend: time 6.11e-07/0.2763, allocations: 4 kB / 0.9919 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006877/0.277, allocations: 322.7 kB / 0.9922 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0007852/0.2778, allocations: 0.9469 MB / 0.9932 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of Templates: time 0.005259/0.283, allocations: 2.517 MB / 0.9956 GB, free: 10.71 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)