Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.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.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.007951/0.007951, allocations: 170 kB / 16.27 MB, free: 6.652 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.486/1.486, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.58/1.58, allocations: 252 MB / 0.5105 GB, free: 4.609 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.0005156/0.0005156, allocations: 12 kB / 0.6249 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5403/0.5408, allocations: 106.3 MB / 0.7287 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.004745/0.5456, allocations: 3.501 MB / 0.7321 GB, free: 7.738 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002902/0.5485, allocations: 1.758 MB / 0.7339 GB, free: 5.969 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002051/0.5488, allocations: 11.94 kB / 0.7339 GB, free: 5.957 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002445/0.549, allocations: 55.56 kB / 0.7339 GB, free: 5.902 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005855/0.5496, allocations: 235 kB / 0.7341 GB, free: 5.672 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006167/0.5502, allocations: 227.6 kB / 0.7344 GB, free: 5.449 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006556/0.5509, allocations: 0.6973 MB / 0.735 GB, free: 4.75 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004555/0.5514, allocations: 366.2 kB / 0.7354 GB, free: 4.359 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001984/0.5516, allocations: 151.4 kB / 0.7355 GB, free: 4.211 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003944/0.552, allocations: 235.1 kB / 0.7358 GB, free: 3.98 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.805e-05/0.552, allocations: 16 kB / 0.7358 GB, free: 3.965 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003448/0.5524, allocations: 227.5 kB / 0.736 GB, free: 3.742 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.5525, allocations: 107.7 kB / 0.7361 GB, free: 3.637 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001525/0.5527, allocations: 184.8 kB / 0.7363 GB, free: 3.449 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004601/0.5531, allocations: 496.2 kB / 0.7367 GB, free: 2.965 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.5532, allocations: 0 / 0.7367 GB, free: 2.965 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.502e-06/0.5532, allocations: 0 / 0.7367 GB, free: 2.965 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.5532, allocations: 4 kB / 0.7367 GB, free: 2.961 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001012/0.5542, allocations: 0.5965 MB / 0.7373 GB, free: 2.316 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.5542, allocations: 12.03 kB / 0.7373 GB, free: 2.305 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006982/0.5549, allocations: 88.41 kB / 0.7374 GB, free: 2.219 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004683/0.5554, allocations: 287.6 kB / 0.7377 GB, free: 1.898 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.358e-05/0.5555, allocations: 21.03 kB / 0.7377 GB, free: 1.875 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.876e-05/0.5555, allocations: 32.36 kB / 0.7377 GB, free: 1.844 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008341/0.5564, allocations: 498 kB / 0.7382 GB, free: 1.328 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.5564, allocations: 3.938 kB / 0.7382 GB, free: 1.324 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.76e-05/0.5565, allocations: 15.94 kB / 0.7382 GB, free: 1.309 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.077e-05/0.5565, allocations: 44.62 kB / 0.7383 GB, free: 1.266 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007517/0.5573, allocations: 386.3 kB / 0.7387 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002372/0.5597, allocations: 2.048 MB / 0.7407 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005864/0.5603, allocations: 226.7 kB / 0.7409 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000391/0.5607, allocations: 164.8 kB / 0.741 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.879e-05/0.5607, allocations: 8 kB / 0.741 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.5607, allocations: 30.56 kB / 0.7411 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=18): time 2.364e-06/0.5607, allocations: 0 / 0.7411 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18): time 0.00125/0.562, allocations: 460.7 kB / 0.7415 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.5621, allocations: 55.41 kB / 0.7416 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003057/0.5624, allocations: 258.7 kB / 0.7418 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.194e-05/0.5624, allocations: 29.7 kB / 0.7418 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.5626, allocations: 211.6 kB / 0.742 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/0.5627, allocations: 63.09 kB / 0.7421 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.008e-05/0.5628, allocations: 37.64 kB / 0.7421 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002059/0.563, allocations: 338.8 kB / 0.7425 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002589/0.5633, allocations: 100.5 kB / 0.7425 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003282/0.5636, allocations: 215.6 kB / 0.7428 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005824/0.5642, allocations: 335.3 kB / 0.7431 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.5642, allocations: 0 / 0.7431 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007631/0.565, allocations: 380.4 kB / 0.7434 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001326/0.5651, allocations: 189.8 kB / 0.7436 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.5652, allocations: 4 kB / 0.7436 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002229/0.5654, allocations: 44.77 kB / 0.7437 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002694/0.5657, allocations: 71.89 kB / 0.7437 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001564/0.5672, allocations: 1.339 MB / 0.745 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002695/0.5675, allocations: 47.83 kB / 0.7451 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/0.5676, allocations: 15.94 kB / 0.7451 GB, free: 9.699 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.432e-06/0.5676, allocations: 4 kB / 0.7451 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007193/0.5683, allocations: 303.8 kB / 0.7454 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.5683, allocations: 4 kB / 0.7454 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.39e-06/0.5683, allocations: 4 kB / 0.7454 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002678/0.5686, allocations: 83.83 kB / 0.7455 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.5686, allocations: 4 kB / 0.7455 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/0.5688, allocations: 51.81 kB / 0.7455 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.03e-05/0.5689, allocations: 12 kB / 0.7455 GB, free: 9.242 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 31 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002585/0.5691, allocations: 245 kB / 0.7458 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.844e-05/0.5692, allocations: 23.72 kB / 0.7458 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.098e-05/0.5693, allocations: 38.11 kB / 0.7458 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.5693, allocations: 0 / 0.7458 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.5693, allocations: 0 / 0.7458 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.5693, allocations: 4 kB / 0.7458 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001174/0.5705, allocations: 0.7753 MB / 0.7466 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.5705, allocations: 0 / 0.7466 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/0.5707, allocations: 43.91 kB / 0.7466 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001031/0.5708, allocations: 28.91 kB / 0.7467 GB, free: 8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.5708, allocations: 4 kB / 0.7467 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001136/0.572, allocations: 1.323 MB / 0.748 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.572, allocations: 3.938 kB / 0.748 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006427/0.5726, allocations: 389.3 kB / 0.7483 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.9e-05/0.5727, allocations: 124.6 kB / 0.7485 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.115e-05/0.5728, allocations: 15.92 kB / 0.7485 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/0.573, allocations: 15.98 kB / 0.7485 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.573, allocations: 15.98 kB / 0.7485 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.573, allocations: 4 kB / 0.7485 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001753/0.5732, allocations: 190 kB / 0.7487 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5732, allocations: 4 kB / 0.7487 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005781/0.5738, allocations: 139.5 kB / 0.7488 GB, free: 5.613 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001302/0.5739, allocations: 103.2 kB / 0.7489 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001096/0.5751, allocations: 0.5045 MB / 0.7494 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.5751, allocations: 0 / 0.7494 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003554/0.5754, allocations: 239.2 kB / 0.7496 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005271/0.576, allocations: 63.08 kB / 0.7497 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009461/0.5769, allocations: 0.7058 MB / 0.7504 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004037/0.5773, allocations: 0.8035 MB / 0.7512 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002254/0.5776, allocations: 66.23 kB / 0.7512 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.794e-05/0.5776, allocations: 19.44 kB / 0.7513 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of SimCode: time 3.41e-07/0.5776, allocations: 0 / 0.7513 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of Templates: time 0.006917/0.5846, allocations: 3.218 MB / 0.7544 GB, free: 15.85 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1) Environment - environmentSimulation: