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.765/1.765, allocations: 288.3 MB / 303.2 MB, free: 8.234 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.001233/0.001233, allocations: 178.1 kB / 371.8 MB, free: 10.27 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.787/1.787, allocations: 205.4 MB / 0.6306 GB, free: 10 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.0009902/0.0009902, allocations: 105.1 kB / 0.7439 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005813/0.0005813, allocations: 16.09 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2738, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.003177/0.277, allocations: 2.709 MB / 0.9821 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001652/0.2787, allocations: 1.268 MB / 0.9833 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/0.2788, allocations: 4 kB / 0.9833 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000167/0.279, allocations: 35.77 kB / 0.9833 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003119/0.2793, allocations: 107.7 kB / 0.9834 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002993/0.2797, allocations: 117.4 kB / 0.9836 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002304/0.2799, allocations: 187.6 kB / 0.9837 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002791/0.2802, allocations: 215.3 kB / 0.9839 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.2803, allocations: 99.56 kB / 0.984 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002109/0.2805, allocations: 103.6 kB / 0.9841 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.508e-05/0.2806, allocations: 8 kB / 0.9841 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001589/0.2807, allocations: 75.94 kB / 0.9842 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.272e-05/0.2808, allocations: 71.8 kB / 0.9843 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.457e-05/0.2809, allocations: 65.58 kB / 0.9843 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002379/0.2811, allocations: 259.6 kB / 0.9846 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.2811, allocations: 0 / 0.9846 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.204e-06/0.2811, allocations: 8 kB / 0.9846 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.2812, allocations: 0 / 0.9846 GB, free: 22.34 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.0007313/0.2819, allocations: 0.5027 MB / 0.9851 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.282, allocations: 12.03 kB / 0.9851 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005858/0.2825, allocations: 91.5 kB / 0.9852 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002791/0.2828, allocations: 242.7 kB / 0.9854 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.2829, allocations: 16.44 kB / 0.9854 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.089e-05/0.2829, allocations: 16 kB / 0.9855 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004375/0.2833, allocations: 308.3 kB / 0.9857 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.2834, allocations: 4 kB / 0.9858 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.794e-05/0.2834, allocations: 11.98 kB / 0.9858 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-05/0.2834, allocations: 20.42 kB / 0.9858 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003148/0.2838, allocations: 213.5 kB / 0.986 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.285, allocations: 1.498 MB / 0.9875 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003815/0.2854, allocations: 211.6 kB / 0.9877 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.2854, allocations: 0 / 0.9877 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.2855, allocations: 30.56 kB / 0.9877 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 8.32e-07/0.2855, allocations: 0 / 0.9877 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.000516/0.286, allocations: 279.4 kB / 0.9879 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.286, allocations: 51.41 kB / 0.988 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.2862, allocations: 212.3 kB / 0.9882 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.2863, allocations: 25.7 kB / 0.9882 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.585e-05/0.2863, allocations: 175.7 kB / 0.9884 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.2864, allocations: 31.56 kB / 0.9884 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.043e-06/0.2864, allocations: 0 / 0.9884 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.14e-05/0.2864, allocations: 330.8 kB / 0.9887 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.435e-05/0.2865, allocations: 43.97 kB / 0.9888 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.2867, allocations: 113 kB / 0.9889 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.2868, allocations: 63.92 kB / 0.9889 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.2868, allocations: 0 / 0.9889 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003083/0.2871, allocations: 222.2 kB / 0.9892 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.2871, allocations: 13.78 kB / 0.9892 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.2871, allocations: 0 / 0.9892 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001762/0.2873, allocations: 28.84 kB / 0.9892 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.2875, allocations: 31.92 kB / 0.9892 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007597/0.2882, allocations: 1.339 MB / 0.9905 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.2884, allocations: 19.75 kB / 0.9906 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.2884, allocations: 4 kB / 0.9906 GB, free: 15.68 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.0001199/0.2885, allocations: 161.9 kB / 0.9907 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.292e-05/0.2885, allocations: 15.81 kB / 0.9907 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.039e-05/0.2886, allocations: 21.39 kB / 0.9908 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.2886, allocations: 0 / 0.9908 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.2886, allocations: 0 / 0.9908 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.2886, allocations: 3.984 kB / 0.9908 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004911/0.2891, allocations: 495.2 kB / 0.9912 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.2891, allocations: 3.984 kB / 0.9912 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.828e-05/0.2892, allocations: 8 kB / 0.9912 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.957e-05/0.2893, allocations: 28.78 kB / 0.9913 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.2893, allocations: 4 kB / 0.9913 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006518/0.2899, allocations: 1.327 MB / 0.9926 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.2899, allocations: 3.953 kB / 0.9926 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000266/0.2902, allocations: 244.4 kB / 0.9928 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.533e-05/0.2903, allocations: 100.9 kB / 0.9929 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.2903, allocations: 4 kB / 0.9929 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.2904, allocations: 15.95 kB / 0.9929 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.862e-05/0.2905, allocations: 3.984 kB / 0.9929 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.2905, allocations: 4 kB / 0.9929 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.716e-05/0.2906, allocations: 148.2 kB / 0.9931 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2906, allocations: 0 / 0.9931 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003148/0.2909, allocations: 59.75 kB / 0.9931 GB, free: 12.81 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.0001305/0.2911, allocations: 95.25 kB / 0.9932 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004198/0.2915, allocations: 242.7 kB / 0.9934 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2915, allocations: 0 / 0.9934 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000162/0.2917, allocations: 163.2 kB / 0.9936 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.292, allocations: 33.19 kB / 0.9936 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000581/0.2926, allocations: 471.4 kB / 0.9941 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001957/0.2928, allocations: 0.7709 MB / 0.9948 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001022/0.2929, allocations: 29.53 kB / 0.9949 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.752e-05/0.2929, allocations: 15.44 kB / 0.9949 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of SimCode: time 2.11e-07/0.2929, allocations: 0 / 0.9949 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of Templates: time 0.004299/0.2972, allocations: 1.767 MB / 0.9966 GB, free: 9.184 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)