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.0009837/0.0009837, allocations: 108.5 kB / 15.99 MB, free: 6.359 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.001068/0.001068, allocations: 193 kB / 16.91 MB, free: 6.195 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.227/1.227, allocations: 222.9 MB / 240.6 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001962/0.001962, allocations: 286.2 kB / 291 MB, free: 14.69 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8692/0.8692, allocations: 169.2 MB / 0.4985 GB, free: 4.727 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001579/0.001579, allocations: 92.86 kB / 0.5953 GB, free: 15.51 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1512, allocations: 86.97 MB / 0.6803 GB, free: 8.555 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001688/0.1529, allocations: 0.6603 MB / 0.6809 GB, free: 7.887 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002669/0.1532, allocations: 99.67 kB / 0.681 GB, free: 7.789 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.321e-05/0.1532, allocations: 0 / 0.681 GB, free: 7.789 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.376e-05/0.1532, allocations: 4 kB / 0.681 GB, free: 7.785 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.243e-05/0.1533, allocations: 0 / 0.681 GB, free: 7.785 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001964/0.1535, allocations: 11.98 kB / 0.681 GB, free: 7.773 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.282e-05/0.1535, allocations: 8 kB / 0.681 GB, free: 7.766 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.93e-05/0.1536, allocations: 3.984 kB / 0.681 GB, free: 7.762 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.869e-05/0.1536, allocations: 4 kB / 0.681 GB, free: 7.758 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.582e-05/0.1537, allocations: 3.984 kB / 0.681 GB, free: 7.754 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.1537, allocations: 4 kB / 0.6811 GB, free: 7.75 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.065e-05/0.1537, allocations: 11.98 kB / 0.6811 GB, free: 7.738 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.065e-05/0.1538, allocations: 0 / 0.6811 GB, free: 7.738 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.892e-05/0.1538, allocations: 11.94 kB / 0.6811 GB, free: 7.727 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.365e-05/0.1538, allocations: 11.98 kB / 0.6811 GB, free: 7.715 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.1539, allocations: 4 kB / 0.6811 GB, free: 7.711 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1539, allocations: 0 / 0.6811 GB, free: 7.711 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.1539, allocations: 0 / 0.6811 GB, free: 7.711 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.0003123/0.1542, allocations: 311.6 kB / 0.6814 GB, free: 7.355 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.483e-05/0.1542, allocations: 12.02 kB / 0.6814 GB, free: 7.344 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001392/0.1544, allocations: 8.922 kB / 0.6814 GB, free: 7.336 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.053e-05/0.1545, allocations: 168.6 kB / 0.6816 GB, free: 7.133 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.1545, allocations: 384 / 0.6816 GB, free: 7.133 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.1545, allocations: 4.375 kB / 0.6816 GB, free: 7.129 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.1546, allocations: 38.25 kB / 0.6816 GB, free: 7.086 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.311e-06/0.1546, allocations: 192 / 0.6816 GB, free: 7.086 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.1547, allocations: 3.938 kB / 0.6816 GB, free: 7.082 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.1547, allocations: 0 / 0.6816 GB, free: 7.082 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.418e-05/0.1547, allocations: 19.92 kB / 0.6816 GB, free: 7.062 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001299/0.1549, allocations: 161.6 kB / 0.6818 GB, free: 6.855 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.155, allocations: 38.55 kB / 0.6818 GB, free: 6.809 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.201e-05/0.1551, allocations: 16.91 kB / 0.6818 GB, free: 6.789 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.1551, allocations: 3.984 kB / 0.6818 GB, free: 6.785 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.1551, allocations: 30.56 kB / 0.6819 GB, free: 6.746 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 2.325e-06/0.1551, allocations: 4 kB / 0.6819 GB, free: 6.742 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001899/0.1553, allocations: 61.61 kB / 0.6819 GB, free: 6.676 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.1554, allocations: 55.34 kB / 0.682 GB, free: 6.609 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.916e-05/0.1554, allocations: 93.8 kB / 0.6821 GB, free: 6.508 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.1554, allocations: 25.7 kB / 0.6821 GB, free: 6.477 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.399e-05/0.1554, allocations: 80.14 kB / 0.6822 GB, free: 6.395 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.656e-05/0.1555, allocations: 7.906 kB / 0.6822 GB, free: 6.387 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.764e-05/0.1555, allocations: 17.7 kB / 0.6822 GB, free: 6.363 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.538e-05/0.1556, allocations: 318.8 kB / 0.6825 GB, free: 6.043 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.423e-05/0.1556, allocations: 4 kB / 0.6825 GB, free: 6.039 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.006e-05/0.1557, allocations: 11.98 kB / 0.6825 GB, free: 6.027 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.789e-05/0.1558, allocations: 24.84 kB / 0.6825 GB, free: 6 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.1558, allocations: 0 / 0.6825 GB, free: 6 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001024/0.1559, allocations: 45.97 kB / 0.6826 GB, free: 5.949 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.1559, allocations: 9.812 kB / 0.6826 GB, free: 5.941 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.1559, allocations: 4 kB / 0.6826 GB, free: 5.938 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.1559, allocations: 7.938 kB / 0.6826 GB, free: 5.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000344/0.1563, allocations: 39.98 kB / 0.6826 GB, free: 5.891 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001139/0.1574, allocations: 1.4 MB / 0.684 GB, free: 4.352 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.769e-05/0.1575, allocations: 7.969 kB / 0.684 GB, free: 4.344 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-06/0.1575, allocations: 0 / 0.684 GB, free: 4.344 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 7.075e-05/0.1575, allocations: 113.8 kB / 0.6841 GB, free: 4.223 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.878e-06/0.1576, allocations: 7.906 kB / 0.6841 GB, free: 4.215 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.223e-05/0.1576, allocations: 11.56 kB / 0.6842 GB, free: 4.203 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.1576, allocations: 0 / 0.6842 GB, free: 4.203 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.41e-07/0.1576, allocations: 0 / 0.6842 GB, free: 4.203 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-06/0.1576, allocations: 0 / 0.6842 GB, free: 4.203 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.821e-05/0.1577, allocations: 157.6 kB / 0.6843 GB, free: 4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1577, allocations: 0 / 0.6843 GB, free: 4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003297/0.158, allocations: 47.94 kB / 0.6843 GB, free: 3.953 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.158, allocations: 0 / 0.6843 GB, free: 3.953 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.158, allocations: 3.984 kB / 0.6844 GB, free: 3.949 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001025/0.1591, allocations: 1.408 MB / 0.6857 GB, free: 2.402 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1591, allocations: 0 / 0.6857 GB, free: 2.402 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001123/0.1592, allocations: 69.14 kB / 0.6858 GB, free: 2.316 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.993e-05/0.1592, allocations: 85.14 kB / 0.6859 GB, free: 2.215 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.474e-06/0.1593, allocations: 7.875 kB / 0.6859 GB, free: 2.207 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.64e-05/0.1593, allocations: 4 kB / 0.6859 GB, free: 2.203 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.682e-05/0.1593, allocations: 3.984 kB / 0.6859 GB, free: 2.199 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.1593, allocations: 12 kB / 0.6859 GB, free: 2.188 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.574e-05/0.1593, allocations: 79.22 kB / 0.686 GB, free: 2.109 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1594, allocations: 0 / 0.686 GB, free: 2.109 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000181/0.1595, allocations: 4 kB / 0.686 GB, free: 2.105 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.0001123/0.1597, allocations: 96.47 kB / 0.6861 GB, free: 2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004218/0.1601, allocations: 67.91 kB / 0.6861 GB, free: 1.934 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1601, allocations: 0 / 0.6861 GB, free: 1.934 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003582/0.1605, allocations: 59.92 kB / 0.6862 GB, free: 1.875 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001318/0.1606, allocations: 0 / 0.6862 GB, free: 1.875 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003002/0.1609, allocations: 122.7 kB / 0.6863 GB, free: 1.723 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001975/0.1611, allocations: 0.6729 MB / 0.687 GB, free: 1.023 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.149e-05/0.1611, allocations: 11.44 kB / 0.687 GB, free: 1.012 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1611, allocations: 0 / 0.687 GB, free: 1.012 MB / 494.1 MB Notification: Performance of Templates: time 0.001888/0.163, allocations: 0.5887 MB / 0.6876 GB, free: 436 kB / 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)