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.8356/0.8356, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009995/0.0009996, allocations: 179 kB / 187.3 MB, free: 11.88 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.424/1.424, allocations: 221.3 MB / 441.4 MB, free: 4.594 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.000865/0.0008653, allocations: 99.41 kB / 0.5124 GB, free: 24.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001709/0.001709, allocations: 274.2 kB / 0.5939 GB, free: 7.953 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.363e-05/3.379e-05, allocations: 8 kB / 0.6834 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4924/0.4925, allocations: 82.78 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1299/0.6225, allocations: 107.9 MB / 0.8696 GB, free: 0.6875 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003482/0.6229, allocations: 87.75 kB / 0.8697 GB, free: 0.6055 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003072/0.626, allocations: 0.9573 MB / 0.8706 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.975e-06/0.6261, allocations: 0 / 0.8706 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.053e-05/0.6261, allocations: 0.8125 kB / 0.8706 GB, free: 15.65 MB / 0.5417 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.0004237/0.6265, allocations: 311.3 kB / 0.8709 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 7.935e-05/0.6266, allocations: 12.03 kB / 0.8709 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002495/0.6269, allocations: 10.14 kB / 0.8709 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.627, allocations: 159.1 kB / 0.8711 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.803e-05/0.6271, allocations: 3.953 kB / 0.8711 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.6271, allocations: 4 kB / 0.8711 GB, free: 15.08 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.6272, allocations: 37.69 kB / 0.8711 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.6273, allocations: 4 kB / 0.8711 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.6273, allocations: 0 / 0.8711 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.6273, allocations: 3.938 kB / 0.8712 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.413e-05/0.6274, allocations: 11.98 kB / 0.8712 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002399/0.6276, allocations: 157.6 kB / 0.8713 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.6278, allocations: 34.61 kB / 0.8713 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.672e-05/0.6278, allocations: 12.88 kB / 0.8714 GB, free: 14.76 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.6278, allocations: 4 kB / 0.8714 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.364e-05/0.6279, allocations: 30.56 kB / 0.8714 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/0.6279, allocations: 3.938 kB / 0.8714 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0002018/0.6281, allocations: 45.78 kB / 0.8714 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.338e-05/0.6282, allocations: 51.41 kB / 0.8715 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.074e-05/0.6283, allocations: 85 kB / 0.8716 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.6283, allocations: 29.64 kB / 0.8716 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.687e-05/0.6283, allocations: 88.14 kB / 0.8717 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.972e-05/0.6284, allocations: 11.89 kB / 0.8717 GB, free: 14.37 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-06/0.6284, allocations: 0 / 0.8717 GB, free: 14.37 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001859/0.6286, allocations: 310.8 kB / 0.872 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.813e-05/0.6286, allocations: 4 kB / 0.872 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.404e-05/0.6287, allocations: 7.984 kB / 0.872 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.145e-05/0.6287, allocations: 7.938 kB / 0.872 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.6287, allocations: 0 / 0.872 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.599e-05/0.6288, allocations: 53.53 kB / 0.8721 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.768e-05/0.6288, allocations: 9.047 kB / 0.8721 GB, free: 13.97 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.6288, allocations: 4 kB / 0.8721 GB, free: 13.97 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.6289, allocations: 0 / 0.8721 GB, free: 13.97 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004124/0.6293, allocations: 39.94 kB / 0.8721 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001227/0.6305, allocations: 1.282 MB / 0.8734 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.966e-05/0.6306, allocations: 4 kB / 0.8734 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.6306, allocations: 160 / 0.8734 GB, free: 12.52 MB / 0.5417 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 7.576e-05/0.6307, allocations: 105 kB / 0.8735 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.494e-05/0.6307, allocations: 15.84 kB / 0.8735 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.368e-05/0.6307, allocations: 7.5 kB / 0.8735 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.6307, allocations: 192 / 0.8735 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.6307, allocations: 0 / 0.8735 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.6307, allocations: 3.984 kB / 0.8735 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/0.6309, allocations: 149.7 kB / 0.8736 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/0.6309, allocations: 3.984 kB / 0.8736 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003537/0.6312, allocations: 51.94 kB / 0.8737 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.6312, allocations: 0 / 0.8737 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.6313, allocations: 3.953 kB / 0.8737 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001042/0.6323, allocations: 1.286 MB / 0.8749 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.6323, allocations: 0 / 0.8749 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.842e-05/0.6324, allocations: 69.31 kB / 0.875 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.935e-05/0.6325, allocations: 77.11 kB / 0.8751 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.6325, allocations: 11.94 kB / 0.8751 GB, free: 10.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.102e-05/0.6325, allocations: 0 / 0.8751 GB, free: 10.51 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.43e-05/0.6326, allocations: 7.938 kB / 0.8751 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.6326, allocations: 0 / 0.8751 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.865e-05/0.6326, allocations: 79.22 kB / 0.8752 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6326, allocations: 4 kB / 0.8752 GB, free: 10.42 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001729/0.6328, allocations: 0 / 0.8752 GB, free: 10.42 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.0001871/0.633, allocations: 105.4 kB / 0.8753 GB, free: 10.31 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000387/0.6334, allocations: 51.92 kB / 0.8753 GB, free: 10.26 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.6334, allocations: 0 / 0.8753 GB, free: 10.26 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001863/0.6336, allocations: 31.92 kB / 0.8754 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001133/0.6337, allocations: 3.938 kB / 0.8754 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002084/0.634, allocations: 61.45 kB / 0.8754 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.6342, allocations: 0.677 MB / 0.8761 GB, free: 9.441 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.57e-05/0.6343, allocations: 0 / 0.8761 GB, free: 9.441 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.01e-05/0.6343, allocations: 19.38 kB / 0.8761 GB, free: 9.422 MB / 0.5417 GB Notification: Performance of SimCode: time 4.11e-07/0.6343, allocations: 0 / 0.8761 GB, free: 9.422 MB / 0.5417 GB Notification: Performance of Templates: time 0.00252/0.6369, allocations: 384 kB / 0.8765 GB, free: 9.047 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)