Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_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.008313/0.008313, allocations: 100.8 kB / 15.73 MB, free: 6 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.001837/0.001837, allocations: 189.1 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002245/0.002245, allocations: 287 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9338/0.9338, allocations: 169.3 MB / 0.4983 GB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00318/0.00318, allocations: 94.59 kB / 0.681 GB, free: 15.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1995/0.2027, allocations: 86.98 MB / 0.7659 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized): time 0.002273/0.205, allocations: 0.5994 MB / 0.7665 GB, free: 8.289 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003668/0.2054, allocations: 91.72 kB / 0.7666 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.036e-05/0.2055, allocations: 0 / 0.7666 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.749e-05/0.2055, allocations: 3.938 kB / 0.7666 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.494e-05/0.2056, allocations: 0 / 0.7666 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002461/0.2058, allocations: 23.97 kB / 0.7666 GB, free: 8.172 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.059e-05/0.2059, allocations: 7.938 kB / 0.7666 GB, free: 8.164 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.672e-05/0.206, allocations: 4 kB / 0.7667 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.989e-05/0.206, allocations: 4 kB / 0.7667 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.661e-05/0.2061, allocations: 0 / 0.7667 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.2061, allocations: 4 kB / 0.7667 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.924e-05/0.2061, allocations: 15.92 kB / 0.7667 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.734e-05/0.2062, allocations: 7.984 kB / 0.7667 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.256e-05/0.2062, allocations: 7.922 kB / 0.7667 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 8.915e-05/0.2063, allocations: 12.27 kB / 0.7667 GB, free: 8.109 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2063, allocations: 4 kB / 0.7667 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.933e-06/0.2063, allocations: 0 / 0.7667 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.766e-06/0.2063, allocations: 0 / 0.7667 GB, free: 8.105 MB / 0.5606 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.0004726/0.2068, allocations: 319.5 kB / 0.767 GB, free: 7.742 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.2068, allocations: 8.031 kB / 0.767 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.02e-05/0.2069, allocations: 34.75 kB / 0.7671 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000186/0.2071, allocations: 12.92 kB / 0.7671 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.2072, allocations: 160.4 kB / 0.7672 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/0.2072, allocations: 4.375 kB / 0.7672 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.2072, allocations: 384 / 0.7672 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.2074, allocations: 38.25 kB / 0.7673 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.2074, allocations: 3.938 kB / 0.7673 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.2074, allocations: 4 kB / 0.7673 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.2074, allocations: 0 / 0.7673 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.78e-05/0.2075, allocations: 15.92 kB / 0.7673 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001706/0.2077, allocations: 161.5 kB / 0.7674 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.2079, allocations: 42.59 kB / 0.7675 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.957e-05/0.208, allocations: 12.92 kB / 0.7675 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.855e-05/0.208, allocations: 0 / 0.7675 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.208, allocations: 38.5 kB / 0.7675 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.208, allocations: 0 / 0.7675 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0002325/0.2083, allocations: 69.5 kB / 0.7676 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.2083, allocations: 51.41 kB / 0.7676 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.246e-05/0.2084, allocations: 89.86 kB / 0.7677 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.2084, allocations: 25.7 kB / 0.7678 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.454e-05/0.2084, allocations: 80.14 kB / 0.7678 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.167e-05/0.2085, allocations: 11.94 kB / 0.7678 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-05/0.2085, allocations: 13.72 kB / 0.7679 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.619e-05/0.2086, allocations: 314.8 kB / 0.7682 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.341e-05/0.2086, allocations: 11.98 kB / 0.7682 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.095e-05/0.2087, allocations: 4 kB / 0.7682 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.652e-05/0.2088, allocations: 29.11 kB / 0.7682 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.2088, allocations: 3.938 kB / 0.7682 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001126/0.2089, allocations: 45.69 kB / 0.7682 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.2089, allocations: 4 kB / 0.7682 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.2089, allocations: 3.938 kB / 0.7682 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.209, allocations: 4 kB / 0.7683 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004017/0.2094, allocations: 43.92 kB / 0.7683 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001408/0.2108, allocations: 1.408 MB / 0.7697 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.846e-05/0.2108, allocations: 0 / 0.7697 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.2108, allocations: 4.031 kB / 0.7697 GB, free: 4.695 MB / 0.5606 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.14e-05/0.2109, allocations: 114.4 kB / 0.7698 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.518e-06/0.2109, allocations: 0 / 0.7698 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.682e-05/0.211, allocations: 3.5 kB / 0.7698 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.211, allocations: 4 kB / 0.7698 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.211, allocations: 4.062 kB / 0.7698 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.211, allocations: 0 / 0.7698 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001136/0.2111, allocations: 157.6 kB / 0.7699 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2111, allocations: 4 kB / 0.7699 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003604/0.2115, allocations: 43.92 kB / 0.77 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.2115, allocations: 8 kB / 0.77 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.2115, allocations: 0 / 0.77 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001189/0.2127, allocations: 1.405 MB / 0.7714 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.2127, allocations: 3.984 kB / 0.7714 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.2129, allocations: 81.11 kB / 0.7715 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.998e-05/0.2129, allocations: 81.05 kB / 0.7715 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.019e-05/0.2129, allocations: 7.922 kB / 0.7715 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.651e-05/0.213, allocations: 11.94 kB / 0.7715 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.644e-05/0.213, allocations: 0 / 0.7715 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.213, allocations: 0 / 0.7715 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.97e-05/0.213, allocations: 75.28 kB / 0.7716 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.213, allocations: 0 / 0.7716 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001902/0.2132, allocations: 8 kB / 0.7716 GB, free: 2.457 MB / 0.5606 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.0004884/0.2137, allocations: 0.6146 MB / 0.7722 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004748/0.2142, allocations: 67.91 kB / 0.7723 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2142, allocations: 0 / 0.7723 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002401/0.2145, allocations: 39.95 kB / 0.7723 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001389/0.2146, allocations: 0 / 0.7723 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004895/0.2151, allocations: 126.6 kB / 0.7725 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.2154, allocations: 0.6729 MB / 0.7731 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.685e-05/0.2154, allocations: 3.984 kB / 0.7731 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.048e-05/0.2155, allocations: 13.44 kB / 0.7731 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of SimCode: time 1.753e-06/0.2155, allocations: 0 / 0.7731 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3229/0.5384, allocations: 1.31 MB / 0.7744 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/11.23, allocations: 2.906 kB / 0.7744 GB, free: 14.31 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_PowerLinearized.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)