Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource") translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.679/1.679, allocations: 288.4 MB / 303.4 MB, free: 8.07 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.001875/0.001875, allocations: 172.5 kB / 372 MB, free: 10.26 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.748/1.748, allocations: 205.4 MB / 0.6307 GB, free: 9.875 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.0009124/0.0009125, allocations: 90.86 kB / 0.7441 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004344/0.0004344, allocations: 11.78 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2421, allocations: 115.3 MB / 0.9796 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.002923/0.2451, allocations: 2.774 MB / 0.9823 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001484/0.2466, allocations: 1.283 MB / 0.9835 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.2467, allocations: 7.938 kB / 0.9835 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001614/0.2469, allocations: 39.7 kB / 0.9836 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003067/0.2472, allocations: 119.4 kB / 0.9837 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002743/0.2475, allocations: 107.7 kB / 0.9838 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002806/0.2478, allocations: 370.8 kB / 0.9842 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002549/0.2481, allocations: 215.2 kB / 0.9844 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.2482, allocations: 115.6 kB / 0.9845 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002267/0.2485, allocations: 139.5 kB / 0.9846 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.001e-05/0.2485, allocations: 8 kB / 0.9846 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001642/0.2487, allocations: 91.81 kB / 0.9847 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.622e-05/0.2487, allocations: 75.78 kB / 0.9848 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.842e-05/0.2488, allocations: 61.64 kB / 0.9848 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002684/0.2491, allocations: 255.6 kB / 0.9851 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2491, allocations: 3.938 kB / 0.9851 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2491, allocations: 0 / 0.9851 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.2491, allocations: 0 / 0.9851 GB, free: 21.96 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.000729/0.2499, allocations: 0.5183 MB / 0.9856 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.2499, allocations: 11.97 kB / 0.9856 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00053/0.2504, allocations: 91.5 kB / 0.9857 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002499/0.2507, allocations: 232.3 kB / 0.9859 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.2507, allocations: 16.44 kB / 0.9859 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.363e-05/0.2508, allocations: 27.98 kB / 0.9859 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004504/0.2512, allocations: 308.3 kB / 0.9862 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.2512, allocations: 0 / 0.9862 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.734e-05/0.2513, allocations: 8 kB / 0.9862 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.045e-05/0.2513, allocations: 20.44 kB / 0.9863 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003295/0.2516, allocations: 221.5 kB / 0.9865 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001297/0.253, allocations: 1.494 MB / 0.9879 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004037/0.2534, allocations: 203.7 kB / 0.9881 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.553e-05/0.2535, allocations: 44.84 kB / 0.9882 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.333e-05/0.2535, allocations: 0 / 0.9882 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.668e-05/0.2535, allocations: 38.62 kB / 0.9882 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 8.82e-07/0.2535, allocations: 0 / 0.9882 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0005093/0.254, allocations: 275.2 kB / 0.9885 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.72e-05/0.2541, allocations: 55.41 kB / 0.9885 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.2542, allocations: 208.3 kB / 0.9887 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.2543, allocations: 29.7 kB / 0.9888 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.623e-05/0.2543, allocations: 175.7 kB / 0.9889 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.909e-05/0.2544, allocations: 31.55 kB / 0.989 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.662e-06/0.2544, allocations: 0 / 0.989 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.682e-05/0.2544, allocations: 326.8 kB / 0.9893 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.797e-05/0.2545, allocations: 43.97 kB / 0.9893 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.2546, allocations: 113.4 kB / 0.9894 GB, free: 17.1 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.2548, allocations: 63.98 kB / 0.9895 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2548, allocations: 0 / 0.9895 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000312/0.2551, allocations: 226.2 kB / 0.9897 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.2551, allocations: 12.06 kB / 0.9897 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.2551, allocations: 7.938 kB / 0.9897 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001745/0.2553, allocations: 32.78 kB / 0.9897 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.2555, allocations: 31.98 kB / 0.9898 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000752/0.2562, allocations: 1.315 MB / 0.9911 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001307/0.2564, allocations: 23.77 kB / 0.9911 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.2564, allocations: 12 kB / 0.9911 GB, free: 15.24 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.0001082/0.2565, allocations: 153.8 kB / 0.9912 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.045e-05/0.2566, allocations: 15.81 kB / 0.9913 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.071e-05/0.2566, allocations: 21.39 kB / 0.9913 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.2566, allocations: 4 kB / 0.9913 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.2566, allocations: 0 / 0.9913 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.2566, allocations: 0 / 0.9913 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004638/0.2571, allocations: 491.2 kB / 0.9917 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2571, allocations: 0 / 0.9917 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.143e-05/0.2572, allocations: 15.98 kB / 0.9918 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.694e-05/0.2572, allocations: 20.84 kB / 0.9918 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.2573, allocations: 8 kB / 0.9918 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006154/0.2579, allocations: 1.319 MB / 0.9931 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.2579, allocations: 7.984 kB / 0.9931 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002322/0.2581, allocations: 240.2 kB / 0.9933 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.244e-05/0.2582, allocations: 96.94 kB / 0.9934 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.2582, allocations: 8 kB / 0.9934 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.2584, allocations: 11.94 kB / 0.9934 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.255e-05/0.2584, allocations: 4 kB / 0.9934 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.2584, allocations: 3.984 kB / 0.9934 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.606e-05/0.2585, allocations: 148.2 kB / 0.9936 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2585, allocations: 0 / 0.9936 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002858/0.2588, allocations: 59.75 kB / 0.9936 GB, free: 12.39 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 9.081e-05/0.2589, allocations: 99.25 kB / 0.9937 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003784/0.2593, allocations: 242.7 kB / 0.994 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2593, allocations: 0 / 0.994 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001596/0.2595, allocations: 163.2 kB / 0.9941 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003297/0.2598, allocations: 34.61 kB / 0.9941 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005145/0.2603, allocations: 487.3 kB / 0.9946 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001666/0.2605, allocations: 0.7554 MB / 0.9953 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001024/0.2607, allocations: 29.53 kB / 0.9954 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.468e-05/0.2607, allocations: 11.44 kB / 0.9954 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.2607, allocations: 0 / 0.9954 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of Templates: time 0.004056/0.2648, allocations: 1.776 MB / 0.9971 GB, free: 8.758 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)