Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001137/0.001137, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001092/0.001092, allocations: 201 kB / 16.14 MB, free: 6.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.434/1.434, allocations: 205.1 MB / 222 MB, free: 4.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.645/1.645, allocations: 292.2 MB / 0.5484 GB, free: 13.7 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 59.03 kB / 0.6708 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.224, allocations: 114.5 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001972/0.2261, allocations: 0.6573 MB / 0.7833 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003161/0.2264, allocations: 95.73 kB / 0.7834 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.166e-05/0.2264, allocations: 0 / 0.7834 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.932e-05/0.2264, allocations: 0 / 0.7834 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.077e-05/0.2265, allocations: 4 kB / 0.7834 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001642/0.2267, allocations: 15.97 kB / 0.7834 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.769e-05/0.2267, allocations: 11.94 kB / 0.7834 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.981e-05/0.2268, allocations: 0 / 0.7834 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.77e-05/0.2268, allocations: 4 kB / 0.7834 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.981e-05/0.2269, allocations: 7.922 kB / 0.7835 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.2269, allocations: 0 / 0.7835 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.636e-05/0.2269, allocations: 19.92 kB / 0.7835 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.275e-05/0.2269, allocations: 0 / 0.7835 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.177e-05/0.227, allocations: 3.984 kB / 0.7835 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.413e-05/0.2271, allocations: 15.98 kB / 0.7835 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.2271, allocations: 0 / 0.7835 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.42e-07/0.2271, allocations: 7.938 kB / 0.7835 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.476e-06/0.2271, allocations: 0 / 0.7835 GB, free: 13.17 MB / 0.6075 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.0003753/0.2275, allocations: 319.6 kB / 0.7838 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.2275, allocations: 8.031 kB / 0.7838 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001532/0.2277, allocations: 8.922 kB / 0.7838 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.681e-05/0.2278, allocations: 164.4 kB / 0.784 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.2278, allocations: 384 / 0.784 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.2278, allocations: 4.375 kB / 0.784 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.2279, allocations: 38.25 kB / 0.784 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.2279, allocations: 4.125 kB / 0.784 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.228, allocations: 3.938 kB / 0.784 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.228, allocations: 0 / 0.784 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.859e-05/0.228, allocations: 15.98 kB / 0.784 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001409/0.2282, allocations: 154 kB / 0.7842 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/0.2284, allocations: 46.59 kB / 0.7842 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.447e-05/0.2284, allocations: 12.92 kB / 0.7842 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.2284, allocations: 4 kB / 0.7843 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.2285, allocations: 30.56 kB / 0.7843 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.2285, allocations: 3.938 kB / 0.7843 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0002089/0.2287, allocations: 57.61 kB / 0.7843 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/0.2287, allocations: 55.41 kB / 0.7844 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.424e-05/0.2288, allocations: 89.86 kB / 0.7845 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.2288, allocations: 25.7 kB / 0.7845 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.363e-05/0.2289, allocations: 80.14 kB / 0.7846 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.132e-05/0.2289, allocations: 23.73 kB / 0.7846 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.669e-05/0.2289, allocations: 9.719 kB / 0.7846 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.2291, allocations: 314.8 kB / 0.7849 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.223e-05/0.2291, allocations: 8 kB / 0.7849 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.475e-05/0.2292, allocations: 12.17 kB / 0.7849 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.601e-05/0.2293, allocations: 28.86 kB / 0.785 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2293, allocations: 0 / 0.785 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001009/0.2294, allocations: 45.69 kB / 0.785 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.2294, allocations: 4 kB / 0.785 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-06/0.2294, allocations: 0 / 0.785 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.2294, allocations: 7.938 kB / 0.785 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003699/0.2298, allocations: 47.86 kB / 0.7851 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001172/0.231, allocations: 1.313 MB / 0.7863 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.873e-05/0.231, allocations: 7.969 kB / 0.7863 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-06/0.231, allocations: 0 / 0.7863 GB, free: 9.895 MB / 0.6075 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 () * 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.772e-05/0.2311, allocations: 114.6 kB / 0.7865 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.187e-06/0.2311, allocations: 3.938 kB / 0.7865 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.571e-05/0.2312, allocations: 11.48 kB / 0.7865 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.2312, allocations: 0 / 0.7865 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.61e-07/0.2312, allocations: 0 / 0.7865 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.2312, allocations: 0 / 0.7865 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001009/0.2313, allocations: 157.6 kB / 0.7866 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.2313, allocations: 3.984 kB / 0.7866 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003529/0.2316, allocations: 47.94 kB / 0.7867 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.2317, allocations: 0 / 0.7867 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.2317, allocations: 0 / 0.7867 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001078/0.2328, allocations: 1.317 MB / 0.788 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2328, allocations: 0 / 0.788 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001234/0.2329, allocations: 77.03 kB / 0.788 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.073e-05/0.233, allocations: 77.11 kB / 0.7881 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.063e-05/0.233, allocations: 7.984 kB / 0.7881 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.688e-05/0.233, allocations: 0 / 0.7881 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.594e-05/0.233, allocations: 0 / 0.7881 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.233, allocations: 4.062 kB / 0.7881 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.485e-05/0.2331, allocations: 75.28 kB / 0.7882 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2331, allocations: 4 kB / 0.7882 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001878/0.2333, allocations: 4 kB / 0.7882 GB, free: 7.773 MB / 0.6075 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 () * 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.0001462/0.2334, allocations: 103.2 kB / 0.7883 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004569/0.2339, allocations: 63.91 kB / 0.7884 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.2339, allocations: 0 / 0.7884 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002394/0.2341, allocations: 39.89 kB / 0.7884 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001374/0.2343, allocations: 0 / 0.7884 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003405/0.2346, allocations: 106.9 kB / 0.7885 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000251/0.2349, allocations: 0.677 MB / 0.7892 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.56e-05/0.2349, allocations: 4 kB / 0.7892 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.624e-05/0.235, allocations: 7.438 kB / 0.7892 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of SimCode: time 4.21e-07/0.235, allocations: 0 / 0.7892 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of Templates: time 0.002432/0.2374, allocations: 402.4 kB / 0.7896 GB, free: 6.324 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)