Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.407/1.407, allocations: 252 MB / 267 MB, free: 10.98 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.0009106/0.0009106, allocations: 178.1 kB / 326.6 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.687/1.687, allocations: 205.4 MB / 0.5777 GB, free: 20.29 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.0008257/0.0008257, allocations: 84.75 kB / 0.6822 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003936/0.000394, allocations: 9.562 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2114, allocations: 106.3 MB / 0.9003 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0006857/0.2121, allocations: 334.1 kB / 0.9006 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000266/0.2124, allocations: 89.09 kB / 0.9007 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.515e-05/0.2125, allocations: 0 / 0.9007 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.442e-05/0.2125, allocations: 4 kB / 0.9007 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.495e-05/0.2125, allocations: 0 / 0.9007 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001924/0.2127, allocations: 15.92 kB / 0.9007 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.828e-05/0.2128, allocations: 3.984 kB / 0.9007 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.892e-05/0.2129, allocations: 4 kB / 0.9007 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.937e-05/0.2129, allocations: 7.922 kB / 0.9007 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.331e-05/0.213, allocations: 8 kB / 0.9008 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.213, allocations: 4 kB / 0.9008 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.553e-05/0.2131, allocations: 11.98 kB / 0.9008 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.524e-06/0.2131, allocations: 0 / 0.9008 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.109e-05/0.2131, allocations: 29.7 kB / 0.9008 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.25e-05/0.2132, allocations: 15.92 kB / 0.9008 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.2132, allocations: 0 / 0.9008 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.933e-06/0.2132, allocations: 0 / 0.9008 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.2132, allocations: 0 / 0.9008 GB, free: 63.25 MB / 0.6042 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.0002622/0.2135, allocations: 307.4 kB / 0.9011 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.2135, allocations: 12.03 kB / 0.9011 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.102e-05/0.2136, allocations: 38.55 kB / 0.9012 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001525/0.2137, allocations: 7.984 kB / 0.9012 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.789e-05/0.2138, allocations: 167 kB / 0.9013 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.2138, allocations: 0 / 0.9013 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.814e-06/0.2138, allocations: 0 / 0.9013 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.214, allocations: 37.69 kB / 0.9014 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.214, allocations: 0 / 0.9014 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.214, allocations: 0 / 0.9014 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.214, allocations: 0 / 0.9014 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.189e-05/0.2141, allocations: 23.92 kB / 0.9014 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001197/0.2142, allocations: 157.6 kB / 0.9015 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/0.2144, allocations: 34.61 kB / 0.9016 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.17e-05/0.2144, allocations: 16.91 kB / 0.9016 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.2144, allocations: 7.922 kB / 0.9016 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.649e-05/0.2145, allocations: 38.56 kB / 0.9016 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.2145, allocations: 0 / 0.9016 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0001972/0.2147, allocations: 57.61 kB / 0.9017 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.24e-05/0.2147, allocations: 51.41 kB / 0.9017 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.709e-05/0.2147, allocations: 89.86 kB / 0.9018 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.696e-06/0.2147, allocations: 25.7 kB / 0.9018 GB, free: 62 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.029e-05/0.2148, allocations: 80.14 kB / 0.9019 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.068e-05/0.2148, allocations: 12.19 kB / 0.9019 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-06/0.2148, allocations: 0 / 0.9019 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.433e-05/0.2149, allocations: 318.8 kB / 0.9022 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.48e-05/0.2149, allocations: 4 kB / 0.9022 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.028e-05/0.2149, allocations: 12.17 kB / 0.9022 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.235e-05/0.215, allocations: 12.03 kB / 0.9023 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.215, allocations: 0 / 0.9023 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.87e-05/0.2151, allocations: 49.62 kB / 0.9023 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.2151, allocations: 8 kB / 0.9023 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.2151, allocations: 3.938 kB / 0.9023 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.2151, allocations: 4 kB / 0.9023 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003945/0.2155, allocations: 43.92 kB / 0.9024 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000928/0.2165, allocations: 1.314 MB / 0.9036 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.897e-05/0.2165, allocations: 7.938 kB / 0.9037 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.2165, allocations: 0 / 0.9037 GB, free: 59.99 MB / 0.6042 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 5.529e-05/0.2166, allocations: 117.8 kB / 0.9038 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.043e-06/0.2166, allocations: 0 / 0.9038 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.214e-05/0.2166, allocations: 3.5 kB / 0.9038 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.2166, allocations: 0 / 0.9038 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.2166, allocations: 4.094 kB / 0.9038 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-06/0.2166, allocations: 0 / 0.9038 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.048e-05/0.2167, allocations: 161.5 kB / 0.9039 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2167, allocations: 0 / 0.9039 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003383/0.2171, allocations: 43.94 kB / 0.904 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.2171, allocations: 0 / 0.904 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.483e-06/0.2171, allocations: 4 kB / 0.904 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007693/0.2179, allocations: 1.306 MB / 0.9052 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.2179, allocations: 7.984 kB / 0.9053 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001005/0.218, allocations: 80.92 kB / 0.9053 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.441e-05/0.218, allocations: 85.19 kB / 0.9054 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.432e-06/0.218, allocations: 0 / 0.9054 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.604e-05/0.2181, allocations: 4 kB / 0.9054 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.44e-05/0.2181, allocations: 3.938 kB / 0.9054 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.237e-06/0.2181, allocations: 0 / 0.9054 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.176e-05/0.2181, allocations: 75.28 kB / 0.9055 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2e-07/0.2181, allocations: 0 / 0.9055 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001774/0.2183, allocations: 8 kB / 0.9055 GB, free: 57.87 MB / 0.6042 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.0002694/0.2186, allocations: 0.6124 MB / 0.9061 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003996/0.219, allocations: 63.84 kB / 0.9062 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.219, allocations: 0 / 0.9062 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002188/0.2192, allocations: 39.95 kB / 0.9062 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.2194, allocations: 5.203 kB / 0.9062 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003393/0.2197, allocations: 120.7 kB / 0.9063 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.032e-05/0.2198, allocations: 0.677 MB / 0.907 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.489e-05/0.2199, allocations: 4 kB / 0.907 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.019e-05/0.2199, allocations: 11.38 kB / 0.907 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.2199, allocations: 0 / 0.907 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01113/0.231, allocations: 1.079 MB / 0.908 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001425/0.2312, allocations: 239.9 kB / 0.9083 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.424/1.655, allocations: 3.938 kB / 0.9083 GB, free: 55.12 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_PowerLinearized.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)