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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007589/0.0007588, allocations: 97.64 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.004756/0.004756, allocations: 171.8 kB / 16.27 MB, free: 6.652 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.713/1.713, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.663/1.663, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0005559/0.000556, allocations: 24.22 kB / 0.6744 GB, free: 25.9 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2629/0.2634, allocations: 116.3 MB / 0.788 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0009033/0.2644, allocations: 331.5 kB / 0.7883 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003892/0.2648, allocations: 91.78 kB / 0.7884 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.335e-05/0.2648, allocations: 0 / 0.7884 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.451e-05/0.2649, allocations: 0 / 0.7884 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.212e-05/0.2649, allocations: 0 / 0.7884 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002028/0.2651, allocations: 15.92 kB / 0.7884 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.208e-05/0.2652, allocations: 8 kB / 0.7884 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.753e-05/0.2652, allocations: 0 / 0.7884 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.838e-05/0.2653, allocations: 4 kB / 0.7884 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.2654, allocations: 15.91 kB / 0.7885 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.2654, allocations: 0 / 0.7885 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.876e-05/0.2655, allocations: 11.98 kB / 0.7885 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.534e-05/0.2655, allocations: 7.938 kB / 0.7885 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.214e-05/0.2656, allocations: 25.7 kB / 0.7885 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001/0.2657, allocations: 15.98 kB / 0.7885 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2657, allocations: 3.938 kB / 0.7885 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2657, allocations: 4 kB / 0.7885 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.2657, allocations: 0 / 0.7885 GB, free: 10.96 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.0004024/0.2661, allocations: 315.6 kB / 0.7888 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.2662, allocations: 8.031 kB / 0.7888 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.372e-05/0.2662, allocations: 34.75 kB / 0.7889 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001809/0.2664, allocations: 8.922 kB / 0.7889 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.2665, allocations: 160.4 kB / 0.789 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.511e-05/0.2666, allocations: 4.375 kB / 0.789 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.2666, allocations: 8.312 kB / 0.789 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.2667, allocations: 38.25 kB / 0.7891 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.2667, allocations: 7.922 kB / 0.7891 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.2668, allocations: 0 / 0.7891 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.2668, allocations: 0 / 0.7891 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.657e-05/0.2668, allocations: 15.97 kB / 0.7891 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001456/0.267, allocations: 153.9 kB / 0.7892 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.2672, allocations: 54.59 kB / 0.7893 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.781e-05/0.2672, allocations: 12.86 kB / 0.7893 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.2673, allocations: 0 / 0.7893 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.2673, allocations: 30.56 kB / 0.7893 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.2673, allocations: 0 / 0.7893 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0002196/0.2675, allocations: 61.52 kB / 0.7894 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.2676, allocations: 55.41 kB / 0.7894 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.893e-05/0.2676, allocations: 93.86 kB / 0.7895 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.2676, allocations: 25.7 kB / 0.7896 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.75e-05/0.2677, allocations: 84.14 kB / 0.7896 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.271e-05/0.2677, allocations: 11.88 kB / 0.7897 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.167e-05/0.2677, allocations: 9.719 kB / 0.7897 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.735e-05/0.2678, allocations: 310.8 kB / 0.79 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.739e-05/0.2679, allocations: 11.94 kB / 0.79 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.014e-05/0.2679, allocations: 11.98 kB / 0.79 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.176e-05/0.268, allocations: 24.84 kB / 0.79 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.268, allocations: 0 / 0.79 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001171/0.2681, allocations: 45.69 kB / 0.79 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.2681, allocations: 4 kB / 0.7901 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.2681, allocations: 7.875 kB / 0.7901 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.686e-06/0.2682, allocations: 0 / 0.7901 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000359/0.2685, allocations: 47.92 kB / 0.7901 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001251/0.2698, allocations: 1.31 MB / 0.7914 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.797e-05/0.2698, allocations: 7.938 kB / 0.7914 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.2698, allocations: 0 / 0.7914 GB, free: 7.645 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 9.905e-05/0.2699, allocations: 120.8 kB / 0.7915 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.436e-06/0.27, allocations: 3.984 kB / 0.7915 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.29e-05/0.27, allocations: 7.484 kB / 0.7915 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.27, allocations: 0 / 0.7915 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.27, allocations: 0 / 0.7915 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.27, allocations: 3.938 kB / 0.7915 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/0.2701, allocations: 153.6 kB / 0.7917 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.2701, allocations: 3.984 kB / 0.7917 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003471/0.2705, allocations: 47.94 kB / 0.7917 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2705, allocations: 0 / 0.7917 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.2705, allocations: 0 / 0.7917 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00118/0.2717, allocations: 1.31 MB / 0.793 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2717, allocations: 3.938 kB / 0.793 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/0.2718, allocations: 73.09 kB / 0.7931 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.186e-05/0.2719, allocations: 77.11 kB / 0.7931 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.758e-06/0.2719, allocations: 7.984 kB / 0.7932 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.396e-05/0.2719, allocations: 0 / 0.7932 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.042e-05/0.272, allocations: 4 kB / 0.7932 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.272, allocations: 8.062 kB / 0.7932 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.414e-05/0.272, allocations: 75.28 kB / 0.7932 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.272, allocations: 0 / 0.7932 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002023/0.2722, allocations: 11.94 kB / 0.7932 GB, free: 5.52 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.000459/0.2727, allocations: 0.6124 MB / 0.7938 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004351/0.2731, allocations: 55.91 kB / 0.7939 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2732, allocations: 0 / 0.7939 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002345/0.2734, allocations: 40.14 kB / 0.7939 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001293/0.2735, allocations: 7.938 kB / 0.7939 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003796/0.2739, allocations: 132.6 kB / 0.7941 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002177/0.2742, allocations: 0.6731 MB / 0.7947 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.179e-05/0.2742, allocations: 8 kB / 0.7947 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.308e-05/0.2742, allocations: 11.42 kB / 0.7947 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of SimCode: time 3.1e-07/0.2742, allocations: 0 / 0.7947 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01105/0.2853, allocations: 1.064 MB / 0.7958 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000174/0.2855, allocations: 242.1 kB / 0.796 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.568/1.853, allocations: 0 / 0.796 GB, free: 2.734 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_PowerLinearized.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)