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.008886/0.008886, allocations: 102.3 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.001316/0.001316, allocations: 190.7 kB / 16.67 MB, free: 5.953 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.623/1.623, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.556/1.556, allocations: 251.7 MB / 0.5094 GB, free: 3.004 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.001475/0.001475, allocations: 71.89 kB / 0.7258 GB, free: 8.984 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2834, allocations: 104.7 MB / 0.828 GB, free: 172 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005089/0.2885, allocations: 3.2 MB / 0.8312 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002451/0.291, allocations: 1.38 MB / 0.8325 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000183/0.2912, allocations: 11.94 kB / 0.8325 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001205/0.2925, allocations: 330.7 kB / 0.8328 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004654/0.2929, allocations: 151.2 kB / 0.833 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004713/0.2934, allocations: 143.6 kB / 0.8331 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004188/0.2938, allocations: 330.6 kB / 0.8334 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005596/0.2944, allocations: 255.6 kB / 0.8337 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002285/0.2947, allocations: 139.5 kB / 0.8338 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00034/0.295, allocations: 151.4 kB / 0.8339 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.97e-05/0.2951, allocations: 20 kB / 0.834 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004187/0.2955, allocations: 159.7 kB / 0.8341 GB, free: 9.895 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.2956, allocations: 91.77 kB / 0.8342 GB, free: 9.805 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001492/0.2958, allocations: 127.3 kB / 0.8343 GB, free: 9.68 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004843/0.2963, allocations: 350.9 kB / 0.8347 GB, free: 9.336 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.2963, allocations: 4 kB / 0.8347 GB, free: 9.332 MB / 0.6544 GB Notification: Performance of FrontEnd: time 4.168e-06/0.2963, allocations: 0 / 0.8347 GB, free: 9.332 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.2963, allocations: 3.938 kB / 0.8347 GB, free: 9.328 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.001031/0.2974, allocations: 0.5404 MB / 0.8352 GB, free: 8.742 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.2974, allocations: 8.031 kB / 0.8352 GB, free: 8.734 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006239/0.298, allocations: 84.52 kB / 0.8353 GB, free: 8.652 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003831/0.2984, allocations: 256.7 kB / 0.8355 GB, free: 8.363 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/0.2985, allocations: 16.81 kB / 0.8355 GB, free: 8.348 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.441e-05/0.2985, allocations: 20.36 kB / 0.8356 GB, free: 8.328 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005562/0.2991, allocations: 312.6 kB / 0.8359 GB, free: 8 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.2991, allocations: 0 / 0.8359 GB, free: 8 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.382e-05/0.2992, allocations: 12 kB / 0.8359 GB, free: 7.988 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.836e-05/0.2992, allocations: 20.42 kB / 0.8359 GB, free: 7.969 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003698/0.2996, allocations: 213.6 kB / 0.8361 GB, free: 7.758 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001727/0.3013, allocations: 1.494 MB / 0.8376 GB, free: 6.102 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004584/0.3018, allocations: 207.6 kB / 0.8378 GB, free: 5.871 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.3019, allocations: 44.83 kB / 0.8378 GB, free: 5.824 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.3019, allocations: 0 / 0.8378 GB, free: 5.824 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.302, allocations: 42.55 kB / 0.8378 GB, free: 5.773 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.302, allocations: 0 / 0.8378 GB, free: 5.773 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.0006379/0.3026, allocations: 263.3 kB / 0.8381 GB, free: 5.488 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.3027, allocations: 51.41 kB / 0.8381 GB, free: 5.426 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002243/0.3029, allocations: 195.8 kB / 0.8383 GB, free: 5.227 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/0.3029, allocations: 37.69 kB / 0.8384 GB, free: 5.184 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.3031, allocations: 179.6 kB / 0.8385 GB, free: 5.004 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.842e-05/0.3031, allocations: 31.58 kB / 0.8386 GB, free: 4.973 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.923e-05/0.3032, allocations: 41.61 kB / 0.8386 GB, free: 4.926 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.3033, allocations: 326.8 kB / 0.8389 GB, free: 4.598 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.3034, allocations: 43.97 kB / 0.839 GB, free: 4.555 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/0.3036, allocations: 116.5 kB / 0.8391 GB, free: 4.41 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002538/0.3039, allocations: 164.4 kB / 0.8392 GB, free: 4.219 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3039, allocations: 0 / 0.8392 GB, free: 4.219 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003715/0.3042, allocations: 210.1 kB / 0.8394 GB, free: 4.004 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/0.3043, allocations: 8 kB / 0.8394 GB, free: 3.996 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.3043, allocations: 4 kB / 0.8394 GB, free: 3.992 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002143/0.3045, allocations: 28.83 kB / 0.8395 GB, free: 3.961 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.3047, allocations: 35.86 kB / 0.8395 GB, free: 3.926 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001291/0.306, allocations: 1.422 MB / 0.8409 GB, free: 2.363 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001551/0.3061, allocations: 27.91 kB / 0.8409 GB, free: 2.336 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.3062, allocations: 8.094 kB / 0.8409 GB, free: 2.328 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.0001741/0.3063, allocations: 149.7 kB / 0.8411 GB, free: 2.172 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.776e-05/0.3064, allocations: 19.75 kB / 0.8411 GB, free: 2.152 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.254e-05/0.3065, allocations: 21.39 kB / 0.8411 GB, free: 2.137 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3065, allocations: 0 / 0.8411 GB, free: 2.137 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3065, allocations: 0 / 0.8411 GB, free: 2.137 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.3065, allocations: 0 / 0.8411 GB, free: 2.137 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006656/0.3072, allocations: 491.2 kB / 0.8416 GB, free: 1.598 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.3072, allocations: 0 / 0.8416 GB, free: 1.598 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.044e-05/0.3072, allocations: 19.98 kB / 0.8416 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.989e-05/0.3074, allocations: 24.84 kB / 0.8416 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.3074, allocations: 0 / 0.8416 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001204/0.3086, allocations: 1.429 MB / 0.843 GB, free: 15.97 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.3086, allocations: 4.156 kB / 0.843 GB, free: 15.97 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000298/0.3089, allocations: 236.1 kB / 0.8432 GB, free: 15.72 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 9.118e-05/0.309, allocations: 100.9 kB / 0.8433 GB, free: 15.6 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.309, allocations: 0 / 0.8433 GB, free: 15.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.3092, allocations: 7.984 kB / 0.8433 GB, free: 15.59 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.818e-05/0.3092, allocations: 12 kB / 0.8433 GB, free: 15.58 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/0.3093, allocations: 7.938 kB / 0.8434 GB, free: 15.57 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00012/0.3094, allocations: 145.5 kB / 0.8435 GB, free: 15.43 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.595e-06/0.3094, allocations: 0 / 0.8435 GB, free: 15.43 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.000354/0.3098, allocations: 63.72 kB / 0.8436 GB, free: 15.37 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.000121/0.3099, allocations: 104 kB / 0.8437 GB, free: 15.26 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0004661/0.3104, allocations: 234.6 kB / 0.8439 GB, free: 15.02 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3104, allocations: 0 / 0.8439 GB, free: 15.02 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002222/0.3106, allocations: 154.7 kB / 0.844 GB, free: 14.86 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003863/0.311, allocations: 36.66 kB / 0.8441 GB, free: 14.82 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006902/0.3117, allocations: 392 kB / 0.8444 GB, free: 14.42 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/0.312, allocations: 0.7556 MB / 0.8452 GB, free: 13.64 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 9.733e-05/0.3121, allocations: 21.53 kB / 0.8452 GB, free: 13.62 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.858e-05/0.3122, allocations: 23.36 kB / 0.8452 GB, free: 13.59 MB / 0.67 GB Notification: Performance of SimCode: time 4.21e-07/0.3122, allocations: 4 kB / 0.8452 GB, free: 13.59 MB / 0.67 GB Notification: Performance of Templates: time 0.005327/0.3175, allocations: 1.954 MB / 0.8471 GB, free: 11.66 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)