Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.267/2.267, allocations: 251.1 MB / 266.7 MB, free: 11.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001323/0.001322, allocations: 169.8 kB / 326.3 MB, free: 2.852 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.428/2.428, allocations: 205.4 MB / 0.5772 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009341/0.0009337, allocations: 93.92 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004731/0.0004733, allocations: 11.28 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2488, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.004218/0.253, allocations: 2.786 MB / 0.9022 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002542/0.2556, allocations: 1.279 MB / 0.9035 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001917/0.2559, allocations: 7.938 kB / 0.9035 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002157/0.2561, allocations: 43.7 kB / 0.9035 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004372/0.2566, allocations: 115.4 kB / 0.9036 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004694/0.257, allocations: 108.9 kB / 0.9037 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004549/0.2575, allocations: 386.6 kB / 0.9041 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003468/0.2579, allocations: 227.2 kB / 0.9043 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002149/0.2581, allocations: 115.5 kB / 0.9044 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003165/0.2584, allocations: 139.5 kB / 0.9046 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.03e-05/0.2585, allocations: 12 kB / 0.9046 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003151/0.2588, allocations: 79.89 kB / 0.9046 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.09e-05/0.2589, allocations: 75.78 kB / 0.9047 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.079e-05/0.259, allocations: 65.58 kB / 0.9048 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003577/0.2594, allocations: 259.6 kB / 0.905 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.2594, allocations: 4 kB / 0.905 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2594, allocations: 0 / 0.905 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.2594, allocations: 0 / 0.905 GB, free: 59.82 MB / 0.6042 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.0008962/0.2603, allocations: 0.4991 MB / 0.9055 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.2604, allocations: 8.031 kB / 0.9055 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007737/0.2612, allocations: 84.58 kB / 0.9056 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003347/0.2615, allocations: 257 kB / 0.9059 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.2615, allocations: 12.81 kB / 0.9059 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.277e-05/0.2616, allocations: 20.38 kB / 0.9059 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006461/0.2623, allocations: 304.7 kB / 0.9062 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.2623, allocations: 3.938 kB / 0.9062 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.764e-05/0.2623, allocations: 15.98 kB / 0.9062 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.536e-05/0.2624, allocations: 20.42 kB / 0.9062 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000556/0.263, allocations: 213.6 kB / 0.9064 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001827/0.2648, allocations: 1.497 MB / 0.9079 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005708/0.2654, allocations: 215.6 kB / 0.9081 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001351/0.2656, allocations: 48.83 kB / 0.9081 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.2656, allocations: 0 / 0.9081 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.2656, allocations: 38.56 kB / 0.9082 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 2.024e-06/0.2656, allocations: 4 kB / 0.9082 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0007573/0.2664, allocations: 263.3 kB / 0.9084 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.994e-05/0.2664, allocations: 59.34 kB / 0.9085 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002466/0.2667, allocations: 204.5 kB / 0.9087 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.2667, allocations: 29.7 kB / 0.9087 GB, free: 55.69 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.185e-05/0.2668, allocations: 179.6 kB / 0.9089 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.796e-05/0.2669, allocations: 27.64 kB / 0.9089 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.052e-05/0.2669, allocations: 0 / 0.9089 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.764e-05/0.267, allocations: 334.8 kB / 0.9092 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.2671, allocations: 47.97 kB / 0.9093 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001791/0.2673, allocations: 110.6 kB / 0.9094 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001858/0.2675, allocations: 67.91 kB / 0.9094 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.2675, allocations: 0 / 0.9094 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005337/0.2681, allocations: 218.3 kB / 0.9096 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.2681, allocations: 9.562 kB / 0.9097 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.2681, allocations: 0 / 0.9097 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000202/0.2683, allocations: 24.84 kB / 0.9097 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002354/0.2686, allocations: 35.92 kB / 0.9097 GB, free: 54.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001033/0.2696, allocations: 1.331 MB / 0.911 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002337/0.2699, allocations: 15.91 kB / 0.911 GB, free: 53.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.2699, allocations: 12 kB / 0.911 GB, free: 53.11 MB / 0.6042 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.0001609/0.2701, allocations: 142 kB / 0.9112 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.124e-05/0.2702, allocations: 19.75 kB / 0.9112 GB, free: 52.94 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.382e-05/0.2702, allocations: 25.33 kB / 0.9112 GB, free: 52.92 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.2702, allocations: 4 kB / 0.9112 GB, free: 52.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.2702, allocations: 0 / 0.9112 GB, free: 52.92 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.049e-05/0.2703, allocations: 100.8 kB / 0.9113 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.329e-05/0.2704, allocations: 8 kB / 0.9113 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.2706, allocations: 7.984 kB / 0.9113 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.856e-05/0.2707, allocations: 8 kB / 0.9113 GB, free: 52.78 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004802/0.2711, allocations: 217.8 kB / 0.9115 GB, free: 52.55 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004445/0.2716, allocations: 346.3 kB / 0.9119 GB, free: 52.2 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001234/0.2717, allocations: 40 kB / 0.9119 GB, free: 52.16 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001409/0.2719, allocations: 141.5 kB / 0.912 GB, free: 52.02 MB / 0.6042 GB Notification: Performance of Backend: time 7.21e-07/0.2719, allocations: 0 / 0.912 GB, free: 52.02 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009513/0.2729, allocations: 320.9 kB / 0.9124 GB, free: 51.69 MB / 0.6042 GB Notification: Performance of SimCode: time 0.001037/0.2739, allocations: 0.9354 MB / 0.9133 GB, free: 50.71 MB / 0.6042 GB Notification: Performance of Templates: time 0.00798/0.2819, allocations: 2.531 MB / 0.9157 GB, free: 48.19 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)