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.869/1.869, allocations: 288.4 MB / 303.6 MB, free: 8.145 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.0009967/0.000997, allocations: 179 kB / 372.3 MB, free: 10.13 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.491/1.491, allocations: 205.4 MB / 0.631 GB, free: 9.895 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.0009889/0.0009888, allocations: 105 kB / 0.7444 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006731/0.0006733, allocations: 15.38 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.2836, allocations: 115.3 MB / 0.9801 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.003575/0.2872, allocations: 2.782 MB / 0.9828 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002035/0.2893, allocations: 1.283 MB / 0.9841 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002241/0.2896, allocations: 4 kB / 0.9841 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002246/0.2898, allocations: 39.64 kB / 0.9841 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005038/0.2903, allocations: 131.4 kB / 0.9843 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004817/0.2908, allocations: 123.7 kB / 0.9844 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004948/0.2913, allocations: 382.7 kB / 0.9847 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000341/0.2917, allocations: 236.9 kB / 0.985 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002446/0.2919, allocations: 111.5 kB / 0.9851 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003024/0.2923, allocations: 139.5 kB / 0.9852 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.575e-05/0.2923, allocations: 12 kB / 0.9852 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003529/0.2927, allocations: 195.5 kB / 0.9854 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.379e-05/0.2928, allocations: 79.77 kB / 0.9855 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.2929, allocations: 129.2 kB / 0.9856 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003423/0.2932, allocations: 271.6 kB / 0.9859 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/0.2932, allocations: 0 / 0.9859 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2933, allocations: 0 / 0.9859 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.2933, allocations: 0 / 0.9859 GB, free: 21.43 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.0008085/0.2941, allocations: 0.5068 MB / 0.9864 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.2941, allocations: 8.031 kB / 0.9864 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006387/0.2948, allocations: 88.48 kB / 0.9865 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003142/0.2951, allocations: 249.5 kB / 0.9867 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.2951, allocations: 12.81 kB / 0.9867 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.085e-05/0.2952, allocations: 20.38 kB / 0.9867 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000472/0.2957, allocations: 320.6 kB / 0.987 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.2957, allocations: 0 / 0.987 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.758e-05/0.2957, allocations: 8 kB / 0.987 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.253e-05/0.2958, allocations: 20.42 kB / 0.9871 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003229/0.2961, allocations: 217.6 kB / 0.9873 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001379/0.2975, allocations: 1.49 MB / 0.9887 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000367/0.2979, allocations: 211.6 kB / 0.9889 GB, free: 18 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.416e-05/0.298, allocations: 48.84 kB / 0.989 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/0.298, allocations: 3.984 kB / 0.989 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/0.298, allocations: 34.56 kB / 0.989 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 2.064e-06/0.298, allocations: 0 / 0.989 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0004889/0.2985, allocations: 271.3 kB / 0.9893 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.283e-05/0.2985, allocations: 51.41 kB / 0.9893 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.2987, allocations: 212.3 kB / 0.9895 GB, free: 17.33 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.2987, allocations: 29.7 kB / 0.9895 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.621e-05/0.2988, allocations: 171.7 kB / 0.9897 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.878e-05/0.2988, allocations: 31.55 kB / 0.9897 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.172e-06/0.2988, allocations: 0 / 0.9897 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.607e-05/0.2989, allocations: 334.8 kB / 0.9901 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.236e-05/0.299, allocations: 43.97 kB / 0.9901 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.694e-05/0.2991, allocations: 118.5 kB / 0.9902 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001856/0.2993, allocations: 176.4 kB / 0.9904 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2993, allocations: 0 / 0.9904 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003007/0.2996, allocations: 218.2 kB / 0.9906 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.2996, allocations: 8 kB / 0.9906 GB, free: 16.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.2996, allocations: 8.328 kB / 0.9906 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001618/0.2998, allocations: 24.84 kB / 0.9906 GB, free: 16.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.2999, allocations: 35.86 kB / 0.9907 GB, free: 16.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008079/0.3008, allocations: 1.323 MB / 0.9919 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001285/0.3009, allocations: 23.84 kB / 0.992 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.3009, allocations: 15.98 kB / 0.992 GB, free: 14.57 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.0001152/0.301, allocations: 145.8 kB / 0.9921 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.972e-05/0.3011, allocations: 19.75 kB / 0.9921 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.24e-05/0.3011, allocations: 21.39 kB / 0.9922 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.3011, allocations: 0 / 0.9922 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.3011, allocations: 0 / 0.9922 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3011, allocations: 0 / 0.9922 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004958/0.3017, allocations: 491.2 kB / 0.9926 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3017, allocations: 0 / 0.9926 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.125e-05/0.3017, allocations: 19.98 kB / 0.9927 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-05/0.3018, allocations: 24.84 kB / 0.9927 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.3018, allocations: 4 kB / 0.9927 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006323/0.3025, allocations: 1.327 MB / 0.994 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3025, allocations: 160 / 0.994 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002308/0.3027, allocations: 236.2 kB / 0.9942 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.616e-05/0.3028, allocations: 100.9 kB / 0.9943 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.3028, allocations: 4 kB / 0.9943 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.3029, allocations: 11.98 kB / 0.9943 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.975e-05/0.303, allocations: 7.984 kB / 0.9943 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.677e-06/0.303, allocations: 4 kB / 0.9943 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.807e-05/0.3031, allocations: 148.2 kB / 0.9945 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.3031, allocations: 0 / 0.9945 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003116/0.3034, allocations: 59.75 kB / 0.9945 GB, free: 11.73 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.0001233/0.3035, allocations: 99.25 kB / 0.9946 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004099/0.304, allocations: 238.5 kB / 0.9948 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.304, allocations: 0 / 0.9948 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001647/0.3042, allocations: 163.2 kB / 0.995 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.3045, allocations: 32.73 kB / 0.995 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005831/0.3051, allocations: 487.1 kB / 0.9955 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001947/0.3053, allocations: 0.7554 MB / 0.9962 GB, free: 9.891 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000101/0.3054, allocations: 29.53 kB / 0.9963 GB, free: 9.863 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.3e-05/0.3055, allocations: 15.44 kB / 0.9963 GB, free: 9.852 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.3055, allocations: 0 / 0.9963 GB, free: 9.852 MB / 0.6198 GB Notification: Performance of Templates: time 0.005316/0.3108, allocations: 1.811 MB / 0.998 GB, free: 8.062 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)