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.00154/0.00154, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00166/0.00166, allocations: 191.3 kB / 16.14 MB, free: 6.703 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.574/1.574, allocations: 205.1 MB / 222 MB, free: 4.746 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.646/1.646, allocations: 251.7 MB / 0.5088 GB, free: 3.336 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.001445/0.001445, allocations: 63.91 kB / 0.6216 GB, free: 1.98 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6385/0.6399, allocations: 104.7 MB / 0.7238 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.006256/0.6463, allocations: 3.256 MB / 0.727 GB, free: 9.863 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002623/0.649, allocations: 1.383 MB / 0.7283 GB, free: 8.469 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001714/0.6492, allocations: 7.938 kB / 0.7283 GB, free: 8.461 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00104/0.6503, allocations: 314.9 kB / 0.7286 GB, free: 8.152 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004035/0.6507, allocations: 143.3 kB / 0.7288 GB, free: 8.012 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004/0.6511, allocations: 135.7 kB / 0.7289 GB, free: 7.879 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004533/0.6515, allocations: 458.7 kB / 0.7293 GB, free: 7.43 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004047/0.652, allocations: 163.8 kB / 0.7295 GB, free: 7.27 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002196/0.6522, allocations: 123.5 kB / 0.7296 GB, free: 7.148 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003455/0.6525, allocations: 147.5 kB / 0.7298 GB, free: 7.004 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.619e-05/0.6526, allocations: 12 kB / 0.7298 GB, free: 6.992 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004521/0.653, allocations: 215.5 kB / 0.73 GB, free: 6.781 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.6532, allocations: 87.73 kB / 0.7301 GB, free: 6.695 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001534/0.6533, allocations: 115.5 kB / 0.7302 GB, free: 6.582 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006802/0.654, allocations: 364.8 kB / 0.7305 GB, free: 6.227 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.654, allocations: 0 / 0.7305 GB, free: 6.227 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.233e-06/0.654, allocations: 0 / 0.7305 GB, free: 6.227 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.051e-05/0.6541, allocations: 0 / 0.7305 GB, free: 6.227 MB / 0.545 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.001132/0.6552, allocations: 0.5341 MB / 0.731 GB, free: 5.645 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.991e-05/0.6553, allocations: 20.02 kB / 0.7311 GB, free: 5.625 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006275/0.6559, allocations: 76.59 kB / 0.7311 GB, free: 5.551 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003502/0.6563, allocations: 247.8 kB / 0.7314 GB, free: 5.27 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/0.6563, allocations: 12.81 kB / 0.7314 GB, free: 5.254 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.662e-05/0.6563, allocations: 28.36 kB / 0.7314 GB, free: 5.227 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006064/0.657, allocations: 316.6 kB / 0.7317 GB, free: 4.898 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.657, allocations: 0 / 0.7317 GB, free: 4.898 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.531e-05/0.657, allocations: 8 kB / 0.7317 GB, free: 4.891 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.614e-05/0.6571, allocations: 20.42 kB / 0.7317 GB, free: 4.871 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003869/0.6575, allocations: 213.6 kB / 0.7319 GB, free: 4.66 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001673/0.6591, allocations: 1.501 MB / 0.7334 GB, free: 2.996 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004458/0.6596, allocations: 203.6 kB / 0.7336 GB, free: 2.77 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.6597, allocations: 44.84 kB / 0.7336 GB, free: 2.723 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.6597, allocations: 0 / 0.7336 GB, free: 2.723 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.6598, allocations: 34.56 kB / 0.7337 GB, free: 2.68 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.6598, allocations: 0 / 0.7337 GB, free: 2.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0006622/0.6605, allocations: 267.3 kB / 0.7339 GB, free: 2.391 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.6605, allocations: 51.41 kB / 0.734 GB, free: 2.328 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002582/0.6608, allocations: 207.7 kB / 0.7342 GB, free: 2.117 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.6608, allocations: 25.7 kB / 0.7342 GB, free: 2.086 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/0.661, allocations: 183.5 kB / 0.7344 GB, free: 1.902 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.661, allocations: 27.66 kB / 0.7344 GB, free: 1.875 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.377e-05/0.6611, allocations: 41.61 kB / 0.7344 GB, free: 1.828 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002091/0.6613, allocations: 334.7 kB / 0.7348 GB, free: 1.492 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.973e-05/0.6614, allocations: 47.92 kB / 0.7348 GB, free: 1.445 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001947/0.6616, allocations: 104.6 kB / 0.7349 GB, free: 1.312 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000232/0.6618, allocations: 168.4 kB / 0.7351 GB, free: 1.117 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/0.6619, allocations: 8.062 kB / 0.7351 GB, free: 1.109 MB / 0.545 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003661/0.6622, allocations: 218.2 kB / 0.7353 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.6623, allocations: 8 kB / 0.7353 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.6623, allocations: 0 / 0.7353 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002093/0.6625, allocations: 24.84 kB / 0.7353 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.6626, allocations: 35.92 kB / 0.7353 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001264/0.6639, allocations: 1.315 MB / 0.7366 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.6641, allocations: 31.67 kB / 0.7367 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.6641, allocations: 4 kB / 0.7367 GB, free: 15.33 MB / 0.5606 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.0001688/0.6643, allocations: 153.9 kB / 0.7368 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.039e-05/0.6643, allocations: 19.75 kB / 0.7368 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.283e-05/0.6644, allocations: 21.39 kB / 0.7368 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.6644, allocations: 0 / 0.7368 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.6644, allocations: 0 / 0.7368 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.6644, allocations: 0 / 0.7368 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006398/0.665, allocations: 487.2 kB / 0.7373 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.665, allocations: 8.078 kB / 0.7373 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.591e-05/0.6651, allocations: 15.92 kB / 0.7373 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.759e-05/0.6652, allocations: 24.84 kB / 0.7374 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.6652, allocations: 3.938 kB / 0.7374 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001009/0.6663, allocations: 1.323 MB / 0.7387 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.6663, allocations: 0 / 0.7387 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000308/0.6666, allocations: 232.1 kB / 0.7389 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.015e-05/0.6667, allocations: 105.1 kB / 0.739 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.6667, allocations: 0 / 0.739 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.6668, allocations: 7.984 kB / 0.739 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.786e-05/0.6669, allocations: 8 kB / 0.739 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.228e-06/0.6669, allocations: 4 kB / 0.739 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001308/0.667, allocations: 145.5 kB / 0.7391 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.667, allocations: 0 / 0.7391 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003418/0.6674, allocations: 59.75 kB / 0.7392 GB, free: 12.5 MB / 0.5606 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.000158/0.6675, allocations: 107.2 kB / 0.7393 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005774/0.6681, allocations: 230.5 kB / 0.7395 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.6681, allocations: 0 / 0.7395 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002128/0.6684, allocations: 159.2 kB / 0.7397 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000404/0.6688, allocations: 36.67 kB / 0.7397 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007814/0.6696, allocations: 482.5 kB / 0.7402 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.6699, allocations: 0.7631 MB / 0.7409 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001103/0.6701, allocations: 29.52 kB / 0.7409 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.853e-05/0.6701, allocations: 15.44 kB / 0.7409 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.6701, allocations: 0 / 0.7409 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of Templates: time 0.005417/0.6755, allocations: 1.834 MB / 0.7427 GB, free: 8.801 MB / 0.5606 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)