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.001756/0.001755, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.002478/0.002478, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.546/3.546, allocations: 205.4 MB / 222.1 MB, free: 5.742 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 3.287/3.287, allocations: 292.6 MB / 0.5497 GB, free: 14.61 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.001323/0.001323, allocations: 19.12 kB / 0.6737 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5348/0.5361, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001369/0.5376, allocations: 333.8 kB / 0.7876 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004566/0.5381, allocations: 85.5 kB / 0.7876 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.701e-05/0.5382, allocations: 0 / 0.7876 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.655e-05/0.5382, allocations: 0 / 0.7876 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.004e-05/0.5383, allocations: 0 / 0.7876 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000284/0.5386, allocations: 11.98 kB / 0.7876 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.944e-05/0.5387, allocations: 4 kB / 0.7876 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.143e-05/0.5388, allocations: 7.922 kB / 0.7877 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.912e-05/0.5388, allocations: 3.938 kB / 0.7877 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.539, allocations: 12 kB / 0.7877 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.539, allocations: 0 / 0.7877 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.5391, allocations: 11.98 kB / 0.7877 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.378e-05/0.5391, allocations: 0 / 0.7877 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.248e-05/0.5392, allocations: 29.7 kB / 0.7877 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.5394, allocations: 15.97 kB / 0.7877 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.5394, allocations: 0 / 0.7877 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.434e-06/0.5394, allocations: 0 / 0.7877 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.685e-06/0.5394, allocations: 0 / 0.7877 GB, free: 11.36 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.000762/0.5402, allocations: 311.4 kB / 0.788 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 8.734e-05/0.5403, allocations: 15.97 kB / 0.788 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.985e-05/0.5404, allocations: 34.56 kB / 0.7881 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002928/0.5407, allocations: 7.984 kB / 0.7881 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005298/0.5412, allocations: 167 kB / 0.7882 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.31e-05/0.5413, allocations: 3.938 kB / 0.7882 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.5413, allocations: 0 / 0.7882 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002114/0.5415, allocations: 37.69 kB / 0.7883 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.5416, allocations: 0 / 0.7883 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.5416, allocations: 0 / 0.7883 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.637e-06/0.5416, allocations: 4 kB / 0.7883 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001441/0.5418, allocations: 19.97 kB / 0.7883 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003321/0.5421, allocations: 165.8 kB / 0.7885 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000282/0.5424, allocations: 42.53 kB / 0.7885 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.5424, allocations: 0 / 0.7885 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.892e-05/0.5426, allocations: 34.56 kB / 0.7885 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.5426, allocations: 4.062 kB / 0.7885 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.000351/0.543, allocations: 53.77 kB / 0.7886 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.872e-05/0.5431, allocations: 51.41 kB / 0.7886 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.5433, allocations: 93.86 kB / 0.7887 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.184e-05/0.5433, allocations: 25.7 kB / 0.7887 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.893e-05/0.5434, allocations: 84.08 kB / 0.7888 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.489e-05/0.5435, allocations: 7.906 kB / 0.7888 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-06/0.5435, allocations: 3.938 kB / 0.7888 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002927/0.5438, allocations: 314.8 kB / 0.7891 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.592e-05/0.5438, allocations: 7.984 kB / 0.7891 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000212/0.5441, allocations: 4 kB / 0.7892 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.266e-05/0.5441, allocations: 11.98 kB / 0.7892 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.5442, allocations: 0 / 0.7892 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000179/0.5443, allocations: 49.64 kB / 0.7892 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/0.5444, allocations: 12 kB / 0.7892 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.5444, allocations: 0 / 0.7892 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.5444, allocations: 0 / 0.7892 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005844/0.545, allocations: 43.92 kB / 0.7893 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002409/0.5475, allocations: 1.31 MB / 0.7905 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.78e-05/0.5475, allocations: 0 / 0.7905 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.5476, allocations: 0 / 0.7905 GB, free: 8.113 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 (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.0002027/0.5478, allocations: 117.9 kB / 0.7907 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.735e-05/0.5478, allocations: 3.953 kB / 0.7907 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.884e-05/0.5478, allocations: 3.5 kB / 0.7907 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.5479, allocations: 0 / 0.7907 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.5479, allocations: 4.516 kB / 0.7907 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.5479, allocations: 4 kB / 0.7907 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002005/0.5481, allocations: 157.5 kB / 0.7908 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.181e-05/0.5481, allocations: 4 kB / 0.7908 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006263/0.5488, allocations: 47.89 kB / 0.7909 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.023e-05/0.5488, allocations: 3.984 kB / 0.7909 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.5488, allocations: 4 kB / 0.7909 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003072/0.5519, allocations: 1.31 MB / 0.7922 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.5519, allocations: 4.031 kB / 0.7922 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/0.5522, allocations: 73.3 kB / 0.7922 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.041e-05/0.5523, allocations: 85.06 kB / 0.7923 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.108e-05/0.5523, allocations: 0 / 0.7923 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.682e-05/0.5524, allocations: 4 kB / 0.7923 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.972e-05/0.5524, allocations: 0 / 0.7923 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.747e-06/0.5524, allocations: 3.984 kB / 0.7923 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.729e-05/0.5525, allocations: 79.28 kB / 0.7924 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5525, allocations: 3.938 kB / 0.7924 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003404/0.5529, allocations: 8 kB / 0.7924 GB, free: 5.977 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 (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.0007582/0.5536, allocations: 0.6153 MB / 0.793 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006965/0.5543, allocations: 59.92 kB / 0.7931 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.5544, allocations: 0 / 0.7931 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003352/0.5547, allocations: 43.89 kB / 0.7931 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00015/0.5549, allocations: 0 / 0.7931 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008611/0.5557, allocations: 124.6 kB / 0.7932 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009789/0.5567, allocations: 0.677 MB / 0.7939 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.284e-05/0.5568, allocations: 4 kB / 0.7939 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.015e-05/0.5569, allocations: 11.42 kB / 0.7939 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of SimCode: time 4.81e-07/0.5569, allocations: 0 / 0.7939 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0335/0.5904, allocations: 1.057 MB / 0.7949 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0007577/0.5913, allocations: 221.8 kB / 0.7951 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.227/3.818, allocations: 4 kB / 0.7951 GB, free: 3.223 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/linux/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) Environment - environmentSimulation: