Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.279/2.279, allocations: 251 MB / 265.9 MB, free: 11.71 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001744/0.001744, allocations: 173.8 kB / 325.5 MB, free: 2.887 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.445/2.445, allocations: 205.4 MB / 0.5764 GB, free: 21.18 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001601/0.0016, allocations: 107 kB / 0.6809 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005124/0.0005125, allocations: 19.47 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.2442, allocations: 106.3 MB / 0.8988 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2687/0.513, allocations: 130.8 MB / 1.027 GB, free: 14.92 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002957/0.5134, allocations: 71.95 kB / 1.027 GB, free: 14.85 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003763/0.5172, allocations: 0.9606 MB / 1.028 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.744e-06/0.5172, allocations: 0 / 1.028 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.5172, allocations: 0 / 1.028 GB, free: 13.89 MB / 0.6823 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.0004064/0.5176, allocations: 327.4 kB / 1.028 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.5177, allocations: 8.031 kB / 1.028 GB, free: 13.51 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.044e-05/0.5178, allocations: 34.56 kB / 1.028 GB, free: 13.47 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001864/0.518, allocations: 11.89 kB / 1.028 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.5181, allocations: 163 kB / 1.028 GB, free: 13.26 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.5181, allocations: 4 kB / 1.028 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.5182, allocations: 0 / 1.028 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.5183, allocations: 41.67 kB / 1.028 GB, free: 13.21 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.5184, allocations: 0 / 1.028 GB, free: 13.21 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.5184, allocations: 4 kB / 1.028 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.5184, allocations: 7.984 kB / 1.028 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.5185, allocations: 11.92 kB / 1.028 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001904/0.5187, allocations: 157.6 kB / 1.028 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002441/0.519, allocations: 42.66 kB / 1.028 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.519, allocations: 4 kB / 1.028 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.5191, allocations: 30.56 kB / 1.028 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.843e-06/0.5191, allocations: 0 / 1.028 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0002927/0.5194, allocations: 61.7 kB / 1.028 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.5194, allocations: 51.41 kB / 1.028 GB, free: 12.76 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.049e-05/0.5195, allocations: 85 kB / 1.029 GB, free: 12.67 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.5195, allocations: 25.7 kB / 1.029 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.652e-05/0.5196, allocations: 84.14 kB / 1.029 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.871e-05/0.5196, allocations: 7.906 kB / 1.029 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-06/0.5196, allocations: 0 / 1.029 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.5198, allocations: 314.8 kB / 1.029 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.234e-05/0.5198, allocations: 11.92 kB / 1.029 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.267e-05/0.5199, allocations: 4 kB / 1.029 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.375e-05/0.52, allocations: 15.94 kB / 1.029 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.52, allocations: 0 / 1.029 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001832/0.5202, allocations: 53.62 kB / 1.029 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.5202, allocations: 4 kB / 1.029 GB, free: 12.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.5202, allocations: 3.938 kB / 1.029 GB, free: 12.13 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.5203, allocations: 4 kB / 1.029 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006547/0.5209, allocations: 39.92 kB / 1.029 GB, free: 12.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001923/0.5229, allocations: 1.315 MB / 1.03 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.186e-05/0.523, allocations: 4.031 kB / 1.03 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.523, allocations: 3.984 kB / 1.03 GB, free: 10.63 MB / 0.6823 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001031/0.5231, allocations: 113.8 kB / 1.031 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.638e-05/0.5231, allocations: 7.984 kB / 1.031 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.29e-05/0.5232, allocations: 3.5 kB / 1.031 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.5232, allocations: 4.188 kB / 1.031 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.5232, allocations: 0 / 1.031 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.5232, allocations: 0 / 1.031 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/0.5234, allocations: 161.6 kB / 1.031 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.5234, allocations: 0 / 1.031 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006589/0.524, allocations: 47.92 kB / 1.031 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.5241, allocations: 4 kB / 1.031 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.677e-06/0.5241, allocations: 0 / 1.031 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001796/0.5259, allocations: 1.31 MB / 1.032 GB, free: 8.797 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.5259, allocations: 0 / 1.032 GB, free: 8.797 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002227/0.5262, allocations: 81.22 kB / 1.032 GB, free: 8.699 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.594e-05/0.5262, allocations: 81.11 kB / 1.032 GB, free: 8.602 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.407e-06/0.5262, allocations: 0 / 1.032 GB, free: 8.602 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.458e-05/0.5263, allocations: 0 / 1.032 GB, free: 8.602 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.809e-05/0.5263, allocations: 3.984 kB / 1.032 GB, free: 8.598 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.5263, allocations: 4 kB / 1.032 GB, free: 8.594 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.667e-05/0.5264, allocations: 75.28 kB / 1.032 GB, free: 8.52 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.01e-07/0.5264, allocations: 0 / 1.032 GB, free: 8.52 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002458/0.5267, allocations: 8 kB / 1.032 GB, free: 8.512 MB / 0.6823 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000534/0.5272, allocations: 0.6124 MB / 1.033 GB, free: 7.871 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007217/0.5279, allocations: 59.86 kB / 1.033 GB, free: 7.812 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.528, allocations: 0 / 1.033 GB, free: 7.812 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003522/0.5283, allocations: 27.97 kB / 1.033 GB, free: 7.785 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000116/0.5285, allocations: 7.938 kB / 1.033 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005045/0.529, allocations: 133.1 kB / 1.033 GB, free: 7.605 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.5293, allocations: 0.677 MB / 1.034 GB, free: 6.902 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.542e-05/0.5294, allocations: 3.984 kB / 1.034 GB, free: 6.898 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.427e-05/0.5295, allocations: 15.42 kB / 1.034 GB, free: 6.883 MB / 0.6823 GB Notification: Performance of SimCode: time 1.843e-06/0.5295, allocations: 0 / 1.034 GB, free: 6.883 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02093/0.5504, allocations: 1.062 MB / 1.035 GB, free: 6 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003548/0.5508, allocations: 219.8 kB / 1.035 GB, free: 5.762 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.401/2.952, allocations: 4 kB / 1.035 GB, free: 5.758 MB / 0.6823 GB