Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009686/0.009686, allocations: 102.1 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 199.5 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.578/1.578, allocations: 205.1 MB / 222.5 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.686/1.686, allocations: 251.7 MB / 0.5094 GB, free: 3.016 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 74.08 kB / 0.7258 GB, free: 9.055 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2705/0.2721, allocations: 104.7 MB / 0.828 GB, free: 252 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005783/0.2779, allocations: 3.2 MB / 0.8311 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002303/0.2802, allocations: 1.387 MB / 0.8325 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001439/0.2804, allocations: 7.938 kB / 0.8325 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.2815, allocations: 333.4 kB / 0.8328 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003982/0.2819, allocations: 143.2 kB / 0.833 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004109/0.2823, allocations: 155.6 kB / 0.8331 GB, free: 11 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003965/0.2828, allocations: 338.6 kB / 0.8334 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004529/0.2832, allocations: 243.7 kB / 0.8337 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002075/0.2834, allocations: 143.5 kB / 0.8338 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002873/0.2837, allocations: 151.4 kB / 0.8339 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.591e-05/0.2838, allocations: 20 kB / 0.834 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00029/0.2841, allocations: 171.6 kB / 0.8341 GB, free: 9.953 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.365e-05/0.2842, allocations: 83.73 kB / 0.8342 GB, free: 9.871 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001195/0.2843, allocations: 119.5 kB / 0.8343 GB, free: 9.754 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004079/0.2847, allocations: 354.9 kB / 0.8347 GB, free: 9.406 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2847, allocations: 3.938 kB / 0.8347 GB, free: 9.402 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2847, allocations: 0 / 0.8347 GB, free: 9.402 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.2848, allocations: 0 / 0.8347 GB, free: 9.402 MB / 0.6544 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.000868/0.2856, allocations: 0.538 MB / 0.8352 GB, free: 8.816 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.2857, allocations: 12.03 kB / 0.8352 GB, free: 8.805 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005999/0.2863, allocations: 76.58 kB / 0.8353 GB, free: 8.73 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003287/0.2866, allocations: 260.6 kB / 0.8355 GB, free: 8.438 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.2866, allocations: 20.81 kB / 0.8355 GB, free: 8.418 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.444e-05/0.2867, allocations: 16.38 kB / 0.8356 GB, free: 8.402 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004638/0.2872, allocations: 312.7 kB / 0.8359 GB, free: 8.074 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.2872, allocations: 7.922 kB / 0.8359 GB, free: 8.066 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.755e-05/0.2872, allocations: 12 kB / 0.8359 GB, free: 8.055 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.17e-05/0.2873, allocations: 16.44 kB / 0.8359 GB, free: 8.039 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003504/0.2876, allocations: 209.6 kB / 0.8361 GB, free: 7.832 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001466/0.2891, allocations: 1.49 MB / 0.8375 GB, free: 6.18 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004228/0.2895, allocations: 207.6 kB / 0.8377 GB, free: 5.949 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.96e-05/0.2896, allocations: 56.75 kB / 0.8378 GB, free: 5.891 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.2897, allocations: 0 / 0.8378 GB, free: 5.891 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.2897, allocations: 30.56 kB / 0.8378 GB, free: 5.852 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 1.373e-06/0.2897, allocations: 0 / 0.8378 GB, free: 5.852 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.0005959/0.2903, allocations: 271.4 kB / 0.8381 GB, free: 5.559 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.2904, allocations: 55.34 kB / 0.8381 GB, free: 5.492 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002502/0.2906, allocations: 199.8 kB / 0.8383 GB, free: 5.289 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.2906, allocations: 33.64 kB / 0.8384 GB, free: 5.25 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.2908, allocations: 179.6 kB / 0.8385 GB, free: 5.07 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.376e-05/0.2908, allocations: 23.66 kB / 0.8386 GB, free: 5.047 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.738e-05/0.2909, allocations: 41.61 kB / 0.8386 GB, free: 5 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.291, allocations: 330.8 kB / 0.8389 GB, free: 4.668 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.663e-05/0.2911, allocations: 47.97 kB / 0.839 GB, free: 4.621 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.2912, allocations: 104.5 kB / 0.8391 GB, free: 4.488 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002371/0.2915, allocations: 172.4 kB / 0.8392 GB, free: 4.289 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.2915, allocations: 4 kB / 0.8392 GB, free: 4.285 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003488/0.2918, allocations: 210 kB / 0.8394 GB, free: 4.07 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.2919, allocations: 8.281 kB / 0.8394 GB, free: 4.062 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.2919, allocations: 8.062 kB / 0.8394 GB, free: 4.055 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001936/0.2921, allocations: 28.84 kB / 0.8395 GB, free: 4.023 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.2922, allocations: 31.92 kB / 0.8395 GB, free: 3.992 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001144/0.2934, allocations: 1.421 MB / 0.8409 GB, free: 2.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001424/0.2935, allocations: 27.69 kB / 0.8409 GB, free: 2.402 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.2936, allocations: 4 kB / 0.8409 GB, free: 2.398 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001417/0.2937, allocations: 153.8 kB / 0.8411 GB, free: 2.238 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.845e-05/0.2938, allocations: 15.91 kB / 0.8411 GB, free: 2.223 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.952e-05/0.2938, allocations: 25.34 kB / 0.8411 GB, free: 2.203 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.2938, allocations: 0 / 0.8411 GB, free: 2.203 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.2938, allocations: 0 / 0.8411 GB, free: 2.203 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.2938, allocations: 0 / 0.8411 GB, free: 2.203 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006112/0.2944, allocations: 491.1 kB / 0.8416 GB, free: 1.664 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.2944, allocations: 0 / 0.8416 GB, free: 1.664 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.094e-05/0.2945, allocations: 12 kB / 0.8416 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.118e-05/0.2946, allocations: 28.83 kB / 0.8416 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.2946, allocations: 3.938 kB / 0.8416 GB, free: 1.617 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009466/0.2956, allocations: 1.421 MB / 0.843 GB, free: 52 kB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.2956, allocations: 4 kB / 0.843 GB, free: 48 kB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003133/0.2959, allocations: 248.2 kB / 0.8432 GB, free: 15.79 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 8.253e-05/0.296, allocations: 100.9 kB / 0.8433 GB, free: 15.67 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.296, allocations: 0 / 0.8433 GB, free: 15.67 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.2962, allocations: 7.984 kB / 0.8433 GB, free: 15.66 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.231e-05/0.2962, allocations: 11.98 kB / 0.8434 GB, free: 15.65 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.2962, allocations: 0 / 0.8434 GB, free: 15.65 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0001188/0.2964, allocations: 149.5 kB / 0.8435 GB, free: 15.5 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2964, allocations: 0 / 0.8435 GB, free: 15.5 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0003458/0.2967, allocations: 63.78 kB / 0.8436 GB, free: 15.44 MB / 0.67 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001384/0.2969, allocations: 103.2 kB / 0.8437 GB, free: 15.33 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0004651/0.2973, allocations: 226.6 kB / 0.8439 GB, free: 15.09 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2973, allocations: 0.5625 kB / 0.8439 GB, free: 15.09 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002003/0.2976, allocations: 158.6 kB / 0.844 GB, free: 14.93 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004048/0.298, allocations: 36.94 kB / 0.8441 GB, free: 14.89 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007771/0.2988, allocations: 399.6 kB / 0.8444 GB, free: 14.48 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.2991, allocations: 0.7554 MB / 0.8452 GB, free: 13.7 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 9.709e-05/0.2992, allocations: 26.16 kB / 0.8452 GB, free: 13.68 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.139e-05/0.2993, allocations: 15.62 kB / 0.8452 GB, free: 13.66 MB / 0.67 GB Notification: Performance of SimCode: time 4.51e-07/0.2993, allocations: 0 / 0.8452 GB, free: 13.66 MB / 0.67 GB Notification: Performance of Templates: time 0.005841/0.3051, allocations: 1.955 MB / 0.8471 GB, free: 11.73 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)