Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8163/0.8163, allocations: 141.8 MB / 149.3 MB, free: 9.223 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 179.8 kB / 182.2 MB, free: 9.473 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 221.5 MB / 436.4 MB, free: 13.34 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008929/0.0008929, allocations: 91.64 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001737/0.001737, allocations: 280.1 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.943e-05/1.944e-05, allocations: 8 kB / 0.6765 GB, free: 12.81 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3496, allocations: 82.77 MB / 0.7574 GB, free: 31.99 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1284/0.478, allocations: 107.2 MB / 0.8621 GB, free: 4.645 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002266/0.4783, allocations: 79.83 kB / 0.8622 GB, free: 4.57 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.002357/0.4807, allocations: 0.9477 MB / 0.8631 GB, free: 3.621 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4807, allocations: 0 / 0.8631 GB, free: 3.621 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.4807, allocations: 4 kB / 0.8631 GB, free: 3.617 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002109/0.4809, allocations: 314.5 kB / 0.8634 GB, free: 3.266 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.4809, allocations: 8.031 kB / 0.8634 GB, free: 3.258 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/0.4811, allocations: 7.984 kB / 0.8634 GB, free: 3.25 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.605e-05/0.4812, allocations: 171 kB / 0.8636 GB, free: 3.043 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.4812, allocations: 7.953 kB / 0.8636 GB, free: 3.035 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.632e-06/0.4812, allocations: 0 / 0.8636 GB, free: 3.035 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.437e-05/0.4813, allocations: 4 kB / 0.8636 GB, free: 3.031 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.156e-05/0.4813, allocations: 37.69 kB / 0.8636 GB, free: 2.988 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.44e-06/0.4813, allocations: 0 / 0.8636 GB, free: 2.988 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.592e-06/0.4814, allocations: 0 / 0.8636 GB, free: 2.988 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.815e-06/0.4814, allocations: 0 / 0.8636 GB, free: 2.988 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001076/0.4815, allocations: 130.2 kB / 0.8637 GB, free: 2.824 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.162e-05/0.4816, allocations: 42.61 kB / 0.8638 GB, free: 2.773 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.332e-05/0.4816, allocations: 12.86 kB / 0.8638 GB, free: 2.758 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.4816, allocations: 4 kB / 0.8638 GB, free: 2.754 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.4817, allocations: 34.52 kB / 0.8638 GB, free: 2.711 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.4817, allocations: 0 / 0.8638 GB, free: 2.711 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 9.751e-05/0.4818, allocations: 37.78 kB / 0.8639 GB, free: 2.668 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.4818, allocations: 55.41 kB / 0.8639 GB, free: 2.602 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.574e-05/0.4819, allocations: 89 kB / 0.864 GB, free: 2.508 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.4819, allocations: 25.7 kB / 0.864 GB, free: 2.477 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.577e-05/0.4819, allocations: 80.14 kB / 0.8641 GB, free: 2.395 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/0.4819, allocations: 11.81 kB / 0.8641 GB, free: 2.383 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-06/0.4819, allocations: 0 / 0.8641 GB, free: 2.383 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.4821, allocations: 314.8 kB / 0.8644 GB, free: 2.066 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.392e-05/0.4821, allocations: 8 kB / 0.8644 GB, free: 2.059 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.965e-06/0.4821, allocations: 0 / 0.8644 GB, free: 2.059 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.19e-05/0.4821, allocations: 7.938 kB / 0.8644 GB, free: 2.051 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.4821, allocations: 4 kB / 0.8644 GB, free: 2.047 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.991e-05/0.4822, allocations: 41.69 kB / 0.8645 GB, free: 2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.4822, allocations: 8 kB / 0.8645 GB, free: 1.992 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.4822, allocations: 0 / 0.8645 GB, free: 1.992 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.4822, allocations: 3.953 kB / 0.8645 GB, free: 1.988 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003712/0.4826, allocations: 39.94 kB / 0.8645 GB, free: 1.949 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009304/0.4836, allocations: 1.251 MB / 0.8657 GB, free: 0.5859 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.995e-05/0.4836, allocations: 3.938 kB / 0.8657 GB, free: 0.582 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.4836, allocations: 0 / 0.8657 GB, free: 0.582 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 6.704e-05/0.4837, allocations: 105.7 kB / 0.8658 GB, free: 484 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.866e-06/0.4837, allocations: 7.922 kB / 0.8659 GB, free: 476 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.157e-05/0.4837, allocations: 4.125 kB / 0.8659 GB, free: 468 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.4837, allocations: 0 / 0.8659 GB, free: 468 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.4837, allocations: 3.953 kB / 0.8659 GB, free: 464 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.4837, allocations: 0 / 0.8659 GB, free: 464 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.394e-05/0.4838, allocations: 130.3 kB / 0.866 GB, free: 296 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.4838, allocations: 0 / 0.866 GB, free: 296 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000381/0.4842, allocations: 47.92 kB / 0.866 GB, free: 248 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.4842, allocations: 0 / 0.866 GB, free: 248 kB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.4843, allocations: 4 kB / 0.866 GB, free: 244 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009117/0.4852, allocations: 1.239 MB / 0.8672 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.4852, allocations: 8.094 kB / 0.8673 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.538e-05/0.4853, allocations: 69.11 kB / 0.8673 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.624e-05/0.4853, allocations: 77.11 kB / 0.8674 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.091e-06/0.4853, allocations: 0 / 0.8674 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.219e-05/0.4854, allocations: 3.984 kB / 0.8674 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.715e-05/0.4854, allocations: 8 kB / 0.8674 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.4854, allocations: 0 / 0.8674 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.218e-05/0.4854, allocations: 79.28 kB / 0.8675 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.4e-07/0.4854, allocations: 0 / 0.8675 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001831/0.4856, allocations: 4 kB / 0.8675 GB, free: 14.61 MB / 0.5417 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001062/0.4857, allocations: 99.2 kB / 0.8676 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003787/0.4861, allocations: 51.88 kB / 0.8676 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4861, allocations: 0 / 0.8676 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001814/0.4863, allocations: 31.95 kB / 0.8677 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.62e-05/0.4864, allocations: 7.938 kB / 0.8677 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001388/0.4866, allocations: 52.17 kB / 0.8677 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002191/0.4868, allocations: 0.6807 MB / 0.8684 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.692e-05/0.4868, allocations: 7.984 kB / 0.8684 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.061e-05/0.4869, allocations: 7.438 kB / 0.8684 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of SimCode: time 2.41e-07/0.4869, allocations: 4 kB / 0.8684 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of Templates: time 0.001795/0.4887, allocations: 376.7 kB / 0.8688 GB, free: 13.24 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)