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.001346/0.001346, allocations: 101.6 kB / 16.35 MB, free: 5.875 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.0011/0.0011, allocations: 191.8 kB / 17.29 MB, free: 5.516 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.245/1.245, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002064/0.002063, allocations: 297.9 kB / 291.4 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.877/0.877, allocations: 169.3 MB / 0.4989 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 94.48 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1507, allocations: 86.97 MB / 0.6816 GB, free: 7.445 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001688/0.1524, allocations: 0.5836 MB / 0.6822 GB, free: 6.859 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002418/0.1526, allocations: 103.8 kB / 0.6823 GB, free: 6.758 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.451e-05/0.1527, allocations: 3.938 kB / 0.6823 GB, free: 6.754 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.258e-05/0.1527, allocations: 3.938 kB / 0.6823 GB, free: 6.75 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.65e-05/0.1527, allocations: 0 / 0.6823 GB, free: 6.75 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001752/0.1529, allocations: 15.98 kB / 0.6823 GB, free: 6.734 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.898e-05/0.1529, allocations: 4 kB / 0.6823 GB, free: 6.73 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.395e-05/0.153, allocations: 0 / 0.6823 GB, free: 6.73 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.511e-05/0.153, allocations: 8 kB / 0.6823 GB, free: 6.723 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.724e-05/0.1531, allocations: 11.97 kB / 0.6823 GB, free: 6.711 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.739e-06/0.1531, allocations: 3.938 kB / 0.6823 GB, free: 6.707 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.605e-05/0.1531, allocations: 11.98 kB / 0.6823 GB, free: 6.695 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.107e-05/0.1532, allocations: 4 kB / 0.6823 GB, free: 6.691 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.968e-05/0.1532, allocations: 7.938 kB / 0.6823 GB, free: 6.684 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.703e-05/0.1532, allocations: 7.984 kB / 0.6824 GB, free: 6.676 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1533, allocations: 0 / 0.6824 GB, free: 6.676 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1533, allocations: 0 / 0.6824 GB, free: 6.676 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.1533, allocations: 0 / 0.6824 GB, free: 6.676 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.0002816/0.1536, allocations: 327.6 kB / 0.6827 GB, free: 6.305 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.983e-05/0.1536, allocations: 8.031 kB / 0.6827 GB, free: 6.297 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001336/0.1537, allocations: 8.922 kB / 0.6827 GB, free: 6.289 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.382e-05/0.1538, allocations: 164.4 kB / 0.6828 GB, free: 6.09 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.1538, allocations: 384 / 0.6828 GB, free: 6.09 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.973e-06/0.1538, allocations: 384 / 0.6828 GB, free: 6.09 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.154, allocations: 38.25 kB / 0.6829 GB, free: 6.047 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.22e-06/0.154, allocations: 192 / 0.6829 GB, free: 6.047 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.154, allocations: 11.94 kB / 0.6829 GB, free: 6.035 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.154, allocations: 0 / 0.6829 GB, free: 6.035 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.877e-05/0.1541, allocations: 11.92 kB / 0.6829 GB, free: 6.023 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001313/0.1542, allocations: 161.6 kB / 0.6831 GB, free: 5.816 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.1544, allocations: 54.47 kB / 0.6831 GB, free: 5.754 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.985e-05/0.1544, allocations: 12.92 kB / 0.6831 GB, free: 5.738 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.1544, allocations: 0 / 0.6831 GB, free: 5.738 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/0.1545, allocations: 30.56 kB / 0.6831 GB, free: 5.699 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.1545, allocations: 0 / 0.6831 GB, free: 5.699 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001794/0.1547, allocations: 65.55 kB / 0.6832 GB, free: 5.629 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.1547, allocations: 55.41 kB / 0.6833 GB, free: 5.562 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.02e-05/0.1547, allocations: 89.86 kB / 0.6833 GB, free: 5.465 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.1548, allocations: 25.7 kB / 0.6834 GB, free: 5.434 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.837e-05/0.1548, allocations: 88.12 kB / 0.6835 GB, free: 5.344 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/0.1548, allocations: 7.891 kB / 0.6835 GB, free: 5.336 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-05/0.1549, allocations: 17.72 kB / 0.6835 GB, free: 5.312 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.133e-05/0.155, allocations: 310.8 kB / 0.6838 GB, free: 5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.704e-05/0.155, allocations: 7.984 kB / 0.6838 GB, free: 4.992 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.884e-05/0.155, allocations: 8 kB / 0.6838 GB, free: 4.984 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.114e-05/0.1551, allocations: 24.84 kB / 0.6838 GB, free: 4.957 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1551, allocations: 0 / 0.6838 GB, free: 4.957 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000102/0.1552, allocations: 49.91 kB / 0.6839 GB, free: 4.902 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.1552, allocations: 8 kB / 0.6839 GB, free: 4.895 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.1552, allocations: 0 / 0.6839 GB, free: 4.895 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.1553, allocations: 7.969 kB / 0.6839 GB, free: 4.887 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003489/0.1556, allocations: 47.92 kB / 0.6839 GB, free: 4.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001132/0.1568, allocations: 1.397 MB / 0.6853 GB, free: 3.305 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.875e-05/0.1568, allocations: 3.984 kB / 0.6853 GB, free: 3.301 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.1568, allocations: 0 / 0.6853 GB, free: 3.301 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.954e-05/0.1569, allocations: 119.3 kB / 0.6854 GB, free: 3.176 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.636e-06/0.1569, allocations: 3.906 kB / 0.6854 GB, free: 3.172 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.47e-05/0.1569, allocations: 7.5 kB / 0.6854 GB, free: 3.164 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-06/0.1569, allocations: 0 / 0.6854 GB, free: 3.164 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.22e-07/0.1569, allocations: 0 / 0.6854 GB, free: 3.164 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-06/0.1569, allocations: 0 / 0.6854 GB, free: 3.164 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.709e-05/0.157, allocations: 153.6 kB / 0.6856 GB, free: 2.965 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.157, allocations: 0 / 0.6856 GB, free: 2.965 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003284/0.1574, allocations: 51.92 kB / 0.6856 GB, free: 2.914 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1574, allocations: 0 / 0.6856 GB, free: 2.914 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.1574, allocations: 0 / 0.6856 GB, free: 2.914 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001039/0.1584, allocations: 1.424 MB / 0.687 GB, free: 1.352 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1584, allocations: 0 / 0.687 GB, free: 1.352 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.1586, allocations: 77.08 kB / 0.6871 GB, free: 1.258 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.639e-05/0.1586, allocations: 77.11 kB / 0.6871 GB, free: 1.164 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.487e-06/0.1586, allocations: 7.922 kB / 0.6872 GB, free: 1.156 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.74e-05/0.1586, allocations: 4.062 kB / 0.6872 GB, free: 1.152 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.455e-05/0.1587, allocations: 7.938 kB / 0.6872 GB, free: 1.145 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.1587, allocations: 4 kB / 0.6872 GB, free: 1.141 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.168e-05/0.1587, allocations: 75.28 kB / 0.6872 GB, free: 1.066 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1587, allocations: 0 / 0.6872 GB, free: 1.066 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001935/0.1589, allocations: 4 kB / 0.6872 GB, free: 1.062 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 9.495e-05/0.159, allocations: 99.25 kB / 0.6873 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004225/0.1594, allocations: 63.91 kB / 0.6874 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1594, allocations: 0 / 0.6874 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002205/0.1597, allocations: 39.89 kB / 0.6874 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001227/0.1598, allocations: 6.188 kB / 0.6874 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002311/0.16, allocations: 93.06 kB / 0.6875 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002029/0.1602, allocations: 0.6729 MB / 0.6882 GB, free: 32 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.552e-05/0.1603, allocations: 3.984 kB / 0.6882 GB, free: 28 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.192e-05/0.1603, allocations: 11.44 kB / 0.6882 GB, free: 16 kB / 494.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1603, allocations: 4 kB / 0.6882 GB, free: 12 kB / 494.1 MB Notification: Performance of Templates: time 0.2285/0.3888, allocations: 407.3 kB / 0.6886 GB, free: 17.57 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)