Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.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.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 99.86 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.001317/0.001317, allocations: 177.3 kB / 15.94 MB, free: 228 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.705/1.705, allocations: 205.4 MB / 222.1 MB, free: 5.508 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.696/1.696, allocations: 251.9 MB / 0.51 GB, free: 4.848 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.0006006/0.0006007, allocations: 12 kB / 0.6241 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6151/0.6157, allocations: 106.3 MB / 0.728 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.005698/0.6214, allocations: 3.498 MB / 0.7314 GB, free: 7.922 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003047/0.6245, allocations: 1.494 MB / 0.7328 GB, free: 6.418 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002592/0.6248, allocations: 7.938 kB / 0.7328 GB, free: 6.41 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002709/0.6251, allocations: 63.59 kB / 0.7329 GB, free: 6.348 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006641/0.6258, allocations: 151.6 kB / 0.7331 GB, free: 6.199 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006148/0.6264, allocations: 164.8 kB / 0.7332 GB, free: 6.039 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006161/0.627, allocations: 311.3 kB / 0.7335 GB, free: 5.734 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006213/0.6277, allocations: 389.7 kB / 0.7339 GB, free: 5.324 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003212/0.628, allocations: 155.5 kB / 0.734 GB, free: 5.172 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000443/0.6285, allocations: 159.4 kB / 0.7342 GB, free: 5.016 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.99e-05/0.6285, allocations: 23.94 kB / 0.7342 GB, free: 4.992 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002545/0.6288, allocations: 75.89 kB / 0.7343 GB, free: 4.918 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.00015/0.6289, allocations: 119.7 kB / 0.7344 GB, free: 4.801 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.896e-05/0.629, allocations: 85.52 kB / 0.7345 GB, free: 4.711 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006109/0.6297, allocations: 408.9 kB / 0.7349 GB, free: 4.312 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.6297, allocations: 4 kB / 0.7349 GB, free: 4.309 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6297, allocations: 0 / 0.7349 GB, free: 4.309 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.755e-05/0.6297, allocations: 0 / 0.7349 GB, free: 4.309 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001549/0.6313, allocations: 0.6231 MB / 0.7355 GB, free: 3.641 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.6313, allocations: 8.031 kB / 0.7355 GB, free: 3.633 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/0.6325, allocations: 119.4 kB / 0.7356 GB, free: 3.516 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007818/0.6333, allocations: 290.4 kB / 0.7359 GB, free: 3.191 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001335/0.6334, allocations: 58.7 kB / 0.7359 GB, free: 3.129 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001378/0.6336, allocations: 32 kB / 0.736 GB, free: 3.098 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00171/0.6353, allocations: 0.5007 MB / 0.7364 GB, free: 2.57 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.6353, allocations: 4 kB / 0.7365 GB, free: 2.566 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.209e-05/0.6354, allocations: 19.98 kB / 0.7365 GB, free: 2.547 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001396/0.6356, allocations: 32.98 kB / 0.7365 GB, free: 2.516 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.6366, allocations: 387.7 kB / 0.7369 GB, free: 2.137 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003664/0.6403, allocations: 2.216 MB / 0.739 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.6414, allocations: 278.6 kB / 0.7393 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.935e-05/0.6414, allocations: 4 kB / 0.7393 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.004e-05/0.6415, allocations: 34.56 kB / 0.7393 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=19): time 1.774e-06/0.6415, allocations: 0 / 0.7393 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.002034/0.6435, allocations: 0.5988 MB / 0.7399 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.681e-05/0.6436, allocations: 55.41 kB / 0.74 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003628/0.644, allocations: 229 kB / 0.7402 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.786e-05/0.644, allocations: 25.7 kB / 0.7402 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002257/0.6443, allocations: 215.6 kB / 0.7404 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000226/0.6445, allocations: 63.09 kB / 0.7405 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.173e-05/0.6445, allocations: 7.938 kB / 0.7405 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002846/0.6448, allocations: 330.8 kB / 0.7408 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003078/0.6452, allocations: 99.94 kB / 0.7409 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005142/0.6457, allocations: 179.9 kB / 0.7411 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003648/0.6461, allocations: 123.5 kB / 0.7412 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/0.6461, allocations: 0 / 0.7412 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001191/0.6473, allocations: 401.2 kB / 0.7416 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000538/0.6478, allocations: 0.8731 MB / 0.7424 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.6479, allocations: 4 kB / 0.7424 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006338/0.6485, allocations: 113.5 kB / 0.7425 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002943/0.6488, allocations: 51.97 kB / 0.7426 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004766/0.6536, allocations: 2.852 MB / 0.7454 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003512/0.654, allocations: 35.73 kB / 0.7454 GB, free: 8.656 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.405e-05/0.654, allocations: 12 kB / 0.7454 GB, free: 8.645 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.654, allocations: 8.188 kB / 0.7454 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001012/0.655, allocations: 322.7 kB / 0.7457 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.6551, allocations: 0 / 0.7457 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000383/0.6555, allocations: 84.86 kB / 0.7458 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003914/0.6559, allocations: 55.95 kB / 0.7459 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002686/0.6586, allocations: 1.515 MB / 0.7473 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003106/0.6589, allocations: 35.81 kB / 0.7474 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.078e-05/0.6589, allocations: 8 kB / 0.7474 GB, free: 6.488 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 (27): * Single equations (assignments): 25 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003406/0.6593, allocations: 249.5 kB / 0.7476 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.709e-05/0.6594, allocations: 31.67 kB / 0.7477 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.31e-05/0.6595, allocations: 26.19 kB / 0.7477 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.6595, allocations: 4 kB / 0.7477 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.6595, allocations: 0 / 0.7477 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.6595, allocations: 3.984 kB / 0.7477 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007965/0.6603, allocations: 389.2 kB / 0.7481 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.6603, allocations: 0 / 0.7481 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002104/0.6605, allocations: 27.98 kB / 0.7481 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005987/0.6612, allocations: 105.5 kB / 0.7482 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.712e-05/0.6612, allocations: 8 kB / 0.7482 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003725/0.6649, allocations: 2.83 MB / 0.751 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.665, allocations: 4.031 kB / 0.751 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.6661, allocations: 419.4 kB / 0.7514 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/0.6662, allocations: 108.8 kB / 0.7515 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.23e-05/0.6663, allocations: 4 kB / 0.7515 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002449/0.6665, allocations: 11.98 kB / 0.7515 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.212e-05/0.6667, allocations: 27.92 kB / 0.7515 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.6667, allocations: 4 kB / 0.7515 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003203/0.667, allocations: 160.5 kB / 0.7517 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/0.667, allocations: 0 / 0.7517 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009283/0.668, allocations: 175.3 kB / 0.7518 GB, free: 1.57 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 (16): * Single equations (assignments): 14 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001482/0.6681, allocations: 103.2 kB / 0.7519 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002571/0.6707, allocations: 0.77 MB / 0.7527 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.6707, allocations: 4.25 kB / 0.7527 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009843/0.6717, allocations: 369.2 kB / 0.753 GB, free: 268 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000486/0.6722, allocations: 54.08 kB / 0.7531 GB, free: 216 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/0.6738, allocations: 0.6762 MB / 0.7538 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006335/0.6745, allocations: 0.8152 MB / 0.7545 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003031/0.6748, allocations: 70.16 kB / 0.7546 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.641e-05/0.6749, allocations: 19.44 kB / 0.7546 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of SimCode: time 2.5e-07/0.6749, allocations: 0 / 0.7546 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of Templates: time 0.01176/0.6866, allocations: 4.093 MB / 0.7586 GB, free: 10.52 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1) Environment - environmentSimulation: