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.856/1.856, allocations: 287.5 MB / 302.6 MB, free: 8.215 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.001308/0.001308, allocations: 183 kB / 371.2 MB, free: 10.73 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.527/1.527, allocations: 205.4 MB / 0.6298 GB, free: 10.52 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.0007207/0.0007207, allocations: 82.38 kB / 0.7432 GB, free: 6.516 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005985/0.0005988, allocations: 10 kB / 0.8661 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2696, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.003604/0.2732, allocations: 2.774 MB / 0.9814 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002059/0.2753, allocations: 1.272 MB / 0.9826 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002646/0.2756, allocations: 8 kB / 0.9826 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002568/0.2759, allocations: 47.58 kB / 0.9827 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000551/0.2765, allocations: 115.4 kB / 0.9828 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004631/0.277, allocations: 107.7 kB / 0.9829 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004755/0.2775, allocations: 370.8 kB / 0.9832 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003876/0.2778, allocations: 246.4 kB / 0.9835 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002574/0.2781, allocations: 115.5 kB / 0.9836 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003589/0.2785, allocations: 135.5 kB / 0.9837 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.806e-05/0.2785, allocations: 8 kB / 0.9837 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002612/0.2788, allocations: 87.81 kB / 0.9838 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.074e-05/0.2789, allocations: 75.8 kB / 0.9839 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.546e-05/0.279, allocations: 65.58 kB / 0.9839 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003461/0.2794, allocations: 263.6 kB / 0.9842 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.2794, allocations: 0 / 0.9842 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.354e-06/0.2794, allocations: 0 / 0.9842 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.748e-06/0.2794, allocations: 0 / 0.9842 GB, free: 22.47 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.0008415/0.2803, allocations: 0.5068 MB / 0.9847 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.2803, allocations: 11.97 kB / 0.9847 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005672/0.2809, allocations: 88.48 kB / 0.9848 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003007/0.2812, allocations: 241.3 kB / 0.985 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.2812, allocations: 16.81 kB / 0.985 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.384e-05/0.2813, allocations: 16.38 kB / 0.9851 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004894/0.2818, allocations: 332.6 kB / 0.9854 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.2818, allocations: 0 / 0.9854 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.2818, allocations: 4 kB / 0.9854 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.161e-05/0.2818, allocations: 16.44 kB / 0.9854 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003182/0.2822, allocations: 217.6 kB / 0.9856 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001241/0.2834, allocations: 1.505 MB / 0.9871 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003674/0.2838, allocations: 199.7 kB / 0.9873 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.072e-05/0.2839, allocations: 44.84 kB / 0.9873 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.2839, allocations: 4 kB / 0.9873 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.705e-05/0.2839, allocations: 30.56 kB / 0.9873 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.153e-06/0.2839, allocations: 0 / 0.9873 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0005021/0.2845, allocations: 275.3 kB / 0.9876 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/0.2845, allocations: 51.41 kB / 0.9876 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.2846, allocations: 212.3 kB / 0.9878 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.2847, allocations: 25.7 kB / 0.9879 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.174e-05/0.2847, allocations: 167.7 kB / 0.988 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.881e-05/0.2848, allocations: 35.55 kB / 0.9881 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.782e-06/0.2848, allocations: 4 kB / 0.9881 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.352e-05/0.2849, allocations: 334.8 kB / 0.9884 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.56e-05/0.2849, allocations: 47.97 kB / 0.9884 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.2851, allocations: 112.5 kB / 0.9885 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001892/0.2852, allocations: 180.4 kB / 0.9887 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2853, allocations: 0 / 0.9887 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003024/0.2856, allocations: 214.2 kB / 0.9889 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.2856, allocations: 8 kB / 0.9889 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.2856, allocations: 0 / 0.9889 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001685/0.2858, allocations: 28.84 kB / 0.989 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.2859, allocations: 35.86 kB / 0.989 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007271/0.2866, allocations: 1.327 MB / 0.9903 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.2868, allocations: 27.78 kB / 0.9903 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.2868, allocations: 16.16 kB / 0.9903 GB, free: 15.61 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.0001109/0.2869, allocations: 149.8 kB / 0.9905 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.7e-05/0.287, allocations: 23.73 kB / 0.9905 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.891e-05/0.287, allocations: 17.41 kB / 0.9905 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.287, allocations: 4 kB / 0.9905 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.287, allocations: 0 / 0.9905 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.287, allocations: 0 / 0.9905 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004693/0.2875, allocations: 495.2 kB / 0.991 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2875, allocations: 0 / 0.991 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.946e-05/0.2876, allocations: 12 kB / 0.991 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.844e-05/0.2877, allocations: 20.84 kB / 0.991 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.2877, allocations: 4 kB / 0.991 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006145/0.2883, allocations: 1.323 MB / 0.9923 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2883, allocations: 4.031 kB / 0.9923 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002343/0.2886, allocations: 236.3 kB / 0.9925 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.546e-05/0.2886, allocations: 100.9 kB / 0.9926 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.2887, allocations: 4 kB / 0.9926 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.2888, allocations: 8 kB / 0.9926 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.669e-05/0.2888, allocations: 15.92 kB / 0.9927 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.2888, allocations: 0 / 0.9927 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.12e-05/0.2889, allocations: 144.2 kB / 0.9928 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2889, allocations: 0 / 0.9928 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003106/0.2893, allocations: 59.75 kB / 0.9929 GB, free: 12.77 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 0.0001046/0.2894, allocations: 96 kB / 0.9929 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003867/0.2898, allocations: 242.5 kB / 0.9932 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2898, allocations: 4 kB / 0.9932 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001593/0.2899, allocations: 159.2 kB / 0.9933 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003597/0.2903, allocations: 42.73 kB / 0.9934 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005442/0.2909, allocations: 483.1 kB / 0.9938 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001886/0.2911, allocations: 0.7632 MB / 0.9946 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.999e-05/0.2912, allocations: 25.53 kB / 0.9946 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.451e-05/0.2912, allocations: 15.44 kB / 0.9946 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2912, allocations: 0 / 0.9946 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of Templates: time 0.00416/0.2954, allocations: 1.783 MB / 0.9964 GB, free: 9.125 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)