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.001407/0.001407, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001682/0.001682, allocations: 192.9 kB / 16.14 MB, free: 6.699 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.509/1.509, allocations: 205.1 MB / 222 MB, free: 4.773 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.626/1.626, allocations: 251.7 MB / 0.5088 GB, free: 3.27 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.001359/0.001359, allocations: 59.91 kB / 0.6216 GB, free: 1.93 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5812/0.5826, allocations: 104.7 MB / 0.7238 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.00519/0.5878, allocations: 3.883 MB / 0.7276 GB, free: 9.246 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002621/0.5905, allocations: 1.777 MB / 0.7293 GB, free: 7.457 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002061/0.5907, allocations: 8 kB / 0.7293 GB, free: 7.449 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00116/0.5919, allocations: 433.5 kB / 0.7298 GB, free: 7.027 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004981/0.5924, allocations: 227 kB / 0.73 GB, free: 6.805 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005886/0.593, allocations: 231.6 kB / 0.7302 GB, free: 6.578 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006953/0.5937, allocations: 0.6973 MB / 0.7309 GB, free: 5.879 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004728/0.5942, allocations: 237 kB / 0.7311 GB, free: 5.645 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002423/0.5945, allocations: 167.3 kB / 0.7313 GB, free: 5.48 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004274/0.5949, allocations: 247.1 kB / 0.7315 GB, free: 5.238 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.734e-05/0.595, allocations: 24 kB / 0.7315 GB, free: 5.215 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004236/0.5954, allocations: 231.5 kB / 0.7317 GB, free: 4.988 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001669/0.5956, allocations: 123.6 kB / 0.7319 GB, free: 4.867 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001795/0.5958, allocations: 175.1 kB / 0.732 GB, free: 4.695 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005398/0.5963, allocations: 488.4 kB / 0.7325 GB, free: 4.219 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.5963, allocations: 4 kB / 0.7325 GB, free: 4.215 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.293e-06/0.5963, allocations: 0 / 0.7325 GB, free: 4.215 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.084e-06/0.5964, allocations: 0 / 0.7325 GB, free: 4.215 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.001224/0.5976, allocations: 0.6666 MB / 0.7331 GB, free: 3.5 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.5976, allocations: 11.97 kB / 0.7332 GB, free: 3.488 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005433/0.5982, allocations: 84.41 kB / 0.7332 GB, free: 3.406 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003376/0.5985, allocations: 287.6 kB / 0.7335 GB, free: 3.086 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.482e-05/0.5986, allocations: 25.03 kB / 0.7335 GB, free: 3.059 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.239e-05/0.5986, allocations: 28.38 kB / 0.7336 GB, free: 3.031 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008534/0.5995, allocations: 489.9 kB / 0.734 GB, free: 2.523 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.5995, allocations: 4 kB / 0.734 GB, free: 2.52 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.169e-05/0.5995, allocations: 12 kB / 0.734 GB, free: 2.508 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.246e-05/0.5996, allocations: 36.62 kB / 0.7341 GB, free: 2.473 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007537/0.6004, allocations: 366.2 kB / 0.7344 GB, free: 2.117 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00257/0.603, allocations: 2.052 MB / 0.7364 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006602/0.6036, allocations: 210.6 kB / 0.7366 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003705/0.604, allocations: 156.8 kB / 0.7368 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.122e-05/0.6041, allocations: 12 kB / 0.7368 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.6041, allocations: 30.56 kB / 0.7368 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=18): time 2.144e-06/0.6041, allocations: 0 / 0.7368 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18): time 0.001054/0.6052, allocations: 424.7 kB / 0.7372 GB, free: 15 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/0.6052, allocations: 55.41 kB / 0.7373 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002494/0.6055, allocations: 262.6 kB / 0.7375 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.6055, allocations: 25.7 kB / 0.7376 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.6056, allocations: 211.7 kB / 0.7378 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.737e-05/0.6057, allocations: 67.08 kB / 0.7378 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.001e-05/0.6058, allocations: 61.89 kB / 0.7379 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.6059, allocations: 338.8 kB / 0.7382 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002332/0.6062, allocations: 89.92 kB / 0.7383 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002873/0.6065, allocations: 203.6 kB / 0.7385 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000526/0.607, allocations: 315.5 kB / 0.7388 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.607, allocations: 4 kB / 0.7388 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000733/0.6077, allocations: 354 kB / 0.7391 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.974e-05/0.6078, allocations: 8 kB / 0.7391 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.6078, allocations: 7.938 kB / 0.7391 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002248/0.608, allocations: 28.84 kB / 0.7392 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002786/0.6083, allocations: 67.89 kB / 0.7392 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001752/0.6101, allocations: 1.343 MB / 0.7405 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002903/0.6104, allocations: 39.67 kB / 0.7406 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.737e-05/0.6104, allocations: 15.98 kB / 0.7406 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004166/0.6109, allocations: 212.6 kB / 0.7408 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003602/0.6112, allocations: 220 kB / 0.741 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000614/0.6118, allocations: 322 kB / 0.7413 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.889e-06/0.6119, allocations: 4 kB / 0.7413 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0007091/0.6126, allocations: 336.8 kB / 0.7416 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.6126, allocations: 8 kB / 0.7416 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.6126, allocations: 7.938 kB / 0.7417 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.29e-06/0.6126, allocations: 4 kB / 0.7417 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002738/0.6129, allocations: 68.36 kB / 0.7417 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.6129, allocations: 12 kB / 0.7417 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002501/0.6132, allocations: 31.83 kB / 0.7418 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.211e-05/0.6132, allocations: 15.98 kB / 0.7418 GB, free: 9.922 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.0002183/0.6134, allocations: 200.1 kB / 0.742 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.186e-05/0.6135, allocations: 35.5 kB / 0.742 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.31e-05/0.6136, allocations: 34.17 kB / 0.742 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.6136, allocations: 0 / 0.742 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.6136, allocations: 8 kB / 0.742 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.6136, allocations: 0 / 0.742 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001382/0.615, allocations: 0.7521 MB / 0.7428 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.615, allocations: 0 / 0.7428 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001898/0.6152, allocations: 39.91 kB / 0.7428 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000113/0.6154, allocations: 24.84 kB / 0.7428 GB, free: 8.746 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.6154, allocations: 8 kB / 0.7428 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009192/0.6163, allocations: 1.315 MB / 0.7441 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.6163, allocations: 0 / 0.7441 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005817/0.6169, allocations: 369.8 kB / 0.7445 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.617, allocations: 120.6 kB / 0.7446 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.952e-05/0.6171, allocations: 8 kB / 0.7446 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001774/0.6172, allocations: 19.97 kB / 0.7446 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.924e-05/0.6173, allocations: 11.98 kB / 0.7446 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.6173, allocations: 8 kB / 0.7446 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000174/0.6175, allocations: 186 kB / 0.7448 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.302e-06/0.6175, allocations: 0 / 0.7448 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005837/0.6181, allocations: 139.5 kB / 0.745 GB, free: 6.398 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.0001348/0.6183, allocations: 115.1 kB / 0.7451 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001003/0.6193, allocations: 495.2 kB / 0.7455 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.6193, allocations: 0 / 0.7455 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003394/0.6196, allocations: 219.3 kB / 0.7457 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00051/0.6201, allocations: 75 kB / 0.7458 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008997/0.6211, allocations: 0.6701 MB / 0.7465 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.6214, allocations: 0.8074 MB / 0.7473 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002211/0.6216, allocations: 78.14 kB / 0.7473 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.755e-05/0.6217, allocations: 19.44 kB / 0.7474 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.6217, allocations: 0 / 0.7474 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of Templates: time 0.00666/0.6284, allocations: 3.241 MB / 0.7505 GB, free: 0.6445 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile (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)