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.0009949/0.0009952, allocations: 97.97 kB / 15.05 MB, free: 1.105 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.001098/0.001098, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.625/1.625, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.587/1.587, allocations: 251.9 MB / 0.51 GB, free: 4.859 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.0006132/0.0006135, allocations: 19.44 kB / 0.6241 GB, free: 1.215 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6278/0.6285, allocations: 106.3 MB / 0.728 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.00467/0.6332, allocations: 3.3 MB / 0.7312 GB, free: 8.129 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002797/0.636, allocations: 1.646 MB / 0.7328 GB, free: 6.473 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001983/0.6363, allocations: 7.938 kB / 0.7328 GB, free: 6.465 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001955/0.6365, allocations: 55.61 kB / 0.7329 GB, free: 6.41 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000426/0.6369, allocations: 159.6 kB / 0.733 GB, free: 6.254 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005695/0.6375, allocations: 203.5 kB / 0.7332 GB, free: 6.055 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003827/0.6379, allocations: 283.4 kB / 0.7335 GB, free: 5.777 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004621/0.6383, allocations: 340.3 kB / 0.7338 GB, free: 5.414 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001623/0.6385, allocations: 131.5 kB / 0.7339 GB, free: 5.285 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002618/0.6388, allocations: 155.4 kB / 0.7341 GB, free: 5.133 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.614e-05/0.6388, allocations: 16 kB / 0.7341 GB, free: 5.117 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001947/0.639, allocations: 83.89 kB / 0.7342 GB, free: 5.035 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001231/0.6392, allocations: 103.7 kB / 0.7343 GB, free: 4.934 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.917e-05/0.6393, allocations: 89.44 kB / 0.7344 GB, free: 4.84 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000461/0.6397, allocations: 365 kB / 0.7347 GB, free: 4.484 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.6397, allocations: 0 / 0.7347 GB, free: 4.484 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.384e-06/0.6397, allocations: 0 / 0.7347 GB, free: 4.484 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.6398, allocations: 0 / 0.7347 GB, free: 4.484 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.001159/0.6409, allocations: 0.6003 MB / 0.7353 GB, free: 3.836 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.641, allocations: 8.031 kB / 0.7353 GB, free: 3.828 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005993/0.6416, allocations: 99.41 kB / 0.7354 GB, free: 3.73 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004329/0.642, allocations: 278.4 kB / 0.7357 GB, free: 3.418 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.962e-05/0.6421, allocations: 28.64 kB / 0.7357 GB, free: 3.387 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.15e-05/0.6421, allocations: 28 kB / 0.7357 GB, free: 3.359 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008474/0.643, allocations: 489.8 kB / 0.7362 GB, free: 2.848 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.643, allocations: 0 / 0.7362 GB, free: 2.848 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.245e-05/0.6431, allocations: 15.98 kB / 0.7362 GB, free: 2.832 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.383e-05/0.6431, allocations: 40.62 kB / 0.7362 GB, free: 2.793 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00079/0.6439, allocations: 390.2 kB / 0.7366 GB, free: 2.41 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002675/0.6466, allocations: 2.048 MB / 0.7386 GB, free: 164 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006541/0.6473, allocations: 230.8 kB / 0.7388 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.6473, allocations: 3.906 kB / 0.7388 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.392e-05/0.6474, allocations: 34.56 kB / 0.7389 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=18): time 2.996e-06/0.6474, allocations: 8 kB / 0.7389 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18): time 0.001193/0.6486, allocations: 469.2 kB / 0.7393 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.6486, allocations: 59.36 kB / 0.7394 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002931/0.6489, allocations: 262.6 kB / 0.7396 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.649, allocations: 25.7 kB / 0.7397 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001733/0.6491, allocations: 211.7 kB / 0.7399 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.255e-05/0.6492, allocations: 59.11 kB / 0.7399 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.243e-05/0.6492, allocations: 4 kB / 0.7399 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001664/0.6494, allocations: 338.8 kB / 0.7402 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002492/0.6497, allocations: 104.5 kB / 0.7403 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003243/0.65, allocations: 206.8 kB / 0.7405 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000285/0.6503, allocations: 134.7 kB / 0.7407 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.6503, allocations: 4 kB / 0.7407 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007678/0.6511, allocations: 386.1 kB / 0.741 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006473/0.6517, allocations: 1.311 MB / 0.7423 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.6517, allocations: 4 kB / 0.7423 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002148/0.652, allocations: 36.77 kB / 0.7424 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002755/0.6523, allocations: 71.89 kB / 0.7424 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00128/0.6536, allocations: 1.341 MB / 0.7437 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002582/0.6538, allocations: 47.67 kB / 0.7438 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.762e-05/0.6539, allocations: 15.98 kB / 0.7438 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.747e-06/0.6539, allocations: 4 kB / 0.7438 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007303/0.6546, allocations: 310.9 kB / 0.7441 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.6546, allocations: 4 kB / 0.7441 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.55e-06/0.6546, allocations: 4 kB / 0.7441 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002748/0.6549, allocations: 79.89 kB / 0.7442 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.6549, allocations: 8.188 kB / 0.7442 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002199/0.6552, allocations: 51.66 kB / 0.7442 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/0.6552, allocations: 12 kB / 0.7442 GB, free: 10.02 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002299/0.6554, allocations: 241 kB / 0.7445 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.071e-05/0.6555, allocations: 35.55 kB / 0.7445 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.284e-05/0.6556, allocations: 34.17 kB / 0.7445 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.6556, allocations: 8 kB / 0.7446 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-06/0.6556, allocations: 0 / 0.7446 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.6556, allocations: 0 / 0.7446 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000421/0.656, allocations: 353.3 kB / 0.7449 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.656, allocations: 0 / 0.7449 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001961/0.6562, allocations: 43.97 kB / 0.7449 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001068/0.6563, allocations: 32.83 kB / 0.745 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.6564, allocations: 11.94 kB / 0.745 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001099/0.6575, allocations: 1.315 MB / 0.7463 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6575, allocations: 0 / 0.7463 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006572/0.6582, allocations: 380 kB / 0.7466 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.6583, allocations: 120.7 kB / 0.7467 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.891e-05/0.6583, allocations: 7.938 kB / 0.7467 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001967/0.6585, allocations: 23.98 kB / 0.7468 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.426e-05/0.6586, allocations: 11.98 kB / 0.7468 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.6586, allocations: 4 kB / 0.7468 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001674/0.6588, allocations: 186 kB / 0.747 GB, free: 7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6588, allocations: 0 / 0.747 GB, free: 7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005579/0.6594, allocations: 147.4 kB / 0.7471 GB, free: 6.855 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001416/0.6595, allocations: 107.2 kB / 0.7472 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001089/0.6606, allocations: 0.5151 MB / 0.7477 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.6606, allocations: 0 / 0.7477 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003536/0.661, allocations: 232.7 kB / 0.7479 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004032/0.6614, allocations: 68.89 kB / 0.748 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.6625, allocations: 0.6457 MB / 0.7486 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004677/0.663, allocations: 0.811 MB / 0.7494 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002229/0.6632, allocations: 70.22 kB / 0.7495 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.915e-05/0.6633, allocations: 27.38 kB / 0.7495 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of SimCode: time 4.91e-07/0.6633, allocations: 0 / 0.7495 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of Templates: time 0.006855/0.6701, allocations: 3.067 MB / 0.7525 GB, free: 1.273 MB / 0.5606 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: