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/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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009128/0.0009128, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.005644/0.005644, allocations: 172 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001744/0.001744, allocations: 270.9 kB / 291.7 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9273/0.9273, allocations: 169.5 MB / 0.5004 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003792/0.0003792, allocations: 17.38 kB / 0.5987 GB, free: 28.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.152, allocations: 88.55 MB / 0.6851 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized): time 0.000641/0.1527, allocations: 315.8 kB / 0.6854 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002847/0.153, allocations: 96.2 kB / 0.6855 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.009e-05/0.153, allocations: 5.125 kB / 0.6855 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.039e-05/0.153, allocations: 0 / 0.6855 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.9e-05/0.153, allocations: 0 / 0.6855 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001511/0.1532, allocations: 16.53 kB / 0.6855 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.807e-05/0.1533, allocations: 5.062 kB / 0.6856 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.76e-05/0.1533, allocations: 3.984 kB / 0.6856 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.688e-05/0.1533, allocations: 4 kB / 0.6856 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.049e-05/0.1534, allocations: 1.562 kB / 0.6856 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.057e-05/0.1534, allocations: 0 / 0.6856 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.129e-05/0.1535, allocations: 19.98 kB / 0.6856 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.708e-06/0.1535, allocations: 0 / 0.6856 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.037e-05/0.1535, allocations: 34.77 kB / 0.6856 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.226e-05/0.1536, allocations: 15.97 kB / 0.6856 GB, free: 14.55 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1536, allocations: 0 / 0.6856 GB, free: 14.55 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.1536, allocations: 7.25 kB / 0.6856 GB, free: 14.55 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1536, allocations: 0 / 0.6856 GB, free: 14.55 MB / 494.1 MB 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.0002924/0.1539, allocations: 315.6 kB / 0.6859 GB, free: 14.19 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.154, allocations: 12.03 kB / 0.6859 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001456/0.1541, allocations: 8.922 kB / 0.686 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.179e-05/0.1542, allocations: 172.6 kB / 0.6861 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.1542, allocations: 384 / 0.6861 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.374e-06/0.1542, allocations: 0.875 kB / 0.6861 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.1544, allocations: 44.39 kB / 0.6862 GB, free: 13.92 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.1544, allocations: 192 / 0.6862 GB, free: 13.92 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.1544, allocations: 3.938 kB / 0.6862 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1544, allocations: 0 / 0.6862 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.019e-05/0.1545, allocations: 16.73 kB / 0.6862 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001427/0.1546, allocations: 159.8 kB / 0.6863 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001496/0.1548, allocations: 42.53 kB / 0.6864 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.245e-05/0.1549, allocations: 12.92 kB / 0.6864 GB, free: 13.63 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.056e-05/0.1549, allocations: 2.312 kB / 0.6864 GB, free: 13.63 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.1549, allocations: 42.55 kB / 0.6864 GB, free: 13.58 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1549, allocations: 0 / 0.6864 GB, free: 13.58 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001945/0.1551, allocations: 54.41 kB / 0.6865 GB, free: 13.52 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.1551, allocations: 51.41 kB / 0.6865 GB, free: 13.46 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.285e-05/0.1552, allocations: 95.56 kB / 0.6866 GB, free: 13.36 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.1552, allocations: 25.7 kB / 0.6867 GB, free: 13.32 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.943e-05/0.1552, allocations: 84.08 kB / 0.6867 GB, free: 13.24 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.913e-05/0.1553, allocations: 8.562 kB / 0.6867 GB, free: 13.23 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.237e-05/0.1553, allocations: 13.72 kB / 0.6868 GB, free: 13.21 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.1554, allocations: 311.4 kB / 0.687 GB, free: 12.9 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.012e-05/0.1555, allocations: 8.859 kB / 0.6871 GB, free: 12.89 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.272e-05/0.1555, allocations: 8.531 kB / 0.6871 GB, free: 12.88 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.022e-05/0.1556, allocations: 22.06 kB / 0.6871 GB, free: 12.86 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1556, allocations: 0 / 0.6871 GB, free: 12.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001211/0.1557, allocations: 50.44 kB / 0.6871 GB, free: 12.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.1558, allocations: 9.719 kB / 0.6871 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.1558, allocations: 0 / 0.6871 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.1558, allocations: 7.938 kB / 0.6872 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003739/0.1562, allocations: 47.86 kB / 0.6872 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001128/0.1573, allocations: 1.302 MB / 0.6885 GB, free: 11.31 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.914e-05/0.1573, allocations: 4.031 kB / 0.6885 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-06/0.1574, allocations: 0 / 0.6885 GB, free: 11.3 MB / 494.1 MB 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 () * Number of clocked 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.583e-05/0.1574, allocations: 111.2 kB / 0.6886 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.141e-05/0.1574, allocations: 15.77 kB / 0.6886 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.291e-05/0.1575, allocations: 7.5 kB / 0.6886 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.1575, allocations: 3.938 kB / 0.6886 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.22e-07/0.1575, allocations: 0 / 0.6886 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.1575, allocations: 0 / 0.6886 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.982e-05/0.1576, allocations: 161.7 kB / 0.6888 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1576, allocations: 0 / 0.6888 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003644/0.1579, allocations: 39.94 kB / 0.6888 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.158, allocations: 0 / 0.6888 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.158, allocations: 7.938 kB / 0.6888 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001052/0.159, allocations: 1.313 MB / 0.6901 GB, free: 9.461 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.159, allocations: 0 / 0.6901 GB, free: 9.461 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.1592, allocations: 77.09 kB / 0.6902 GB, free: 9.367 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.878e-05/0.1592, allocations: 81.09 kB / 0.6902 GB, free: 9.27 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.681e-06/0.1592, allocations: 0 / 0.6902 GB, free: 9.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.502e-05/0.1592, allocations: 4.094 kB / 0.6902 GB, free: 9.266 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.266e-05/0.1593, allocations: 4 kB / 0.6902 GB, free: 9.262 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/0.1593, allocations: 0 / 0.6902 GB, free: 9.262 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.049e-05/0.1593, allocations: 75.28 kB / 0.6903 GB, free: 9.188 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1593, allocations: 0 / 0.6903 GB, free: 9.188 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001873/0.1595, allocations: 4 kB / 0.6903 GB, free: 9.184 MB / 494.1 MB 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000106/0.1596, allocations: 107.2 kB / 0.6904 GB, free: 9.066 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004477/0.1601, allocations: 67.83 kB / 0.6905 GB, free: 9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1601, allocations: 0 / 0.6905 GB, free: 9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002359/0.1603, allocations: 43.94 kB / 0.6905 GB, free: 8.957 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001256/0.1605, allocations: 4 kB / 0.6905 GB, free: 8.953 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002734/0.1607, allocations: 91.03 kB / 0.6906 GB, free: 8.84 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002177/0.161, allocations: 0.6731 MB / 0.6913 GB, free: 8.141 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.25e-05/0.161, allocations: 4 kB / 0.6913 GB, free: 8.137 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.238e-05/0.161, allocations: 11.44 kB / 0.6913 GB, free: 8.125 MB / 494.1 MB Notification: Performance of SimCode: time 3.61e-07/0.161, allocations: 3.938 kB / 0.6913 GB, free: 8.121 MB / 494.1 MB Notification: Performance of Templates: time 0.002068/0.1631, allocations: 390.6 kB / 0.6917 GB, free: 7.742 MB / 494.1 MB 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)