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.005914/0.005914, allocations: 96.7 kB / 15.73 MB, free: 6.043 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.001439/0.00144, allocations: 196.7 kB / 16.67 MB, free: 5.969 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.487/1.487, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00255/0.00255, allocations: 278.6 kB / 290.8 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.151/1.151, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003006/0.003006, allocations: 103.9 kB / 0.681 GB, free: 15.92 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.1901, allocations: 86.98 MB / 0.766 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized): time 0.002261/0.1924, allocations: 0.5838 MB / 0.7665 GB, free: 8.289 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003482/0.1927, allocations: 95.78 kB / 0.7666 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.252e-05/0.1928, allocations: 7.938 kB / 0.7666 GB, free: 8.188 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.397e-05/0.1928, allocations: 0 / 0.7666 GB, free: 8.188 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.824e-05/0.1929, allocations: 0 / 0.7666 GB, free: 8.188 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00024/0.1931, allocations: 11.92 kB / 0.7666 GB, free: 8.176 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.211e-05/0.1932, allocations: 11.98 kB / 0.7666 GB, free: 8.164 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.133e-05/0.1933, allocations: 7.938 kB / 0.7667 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.83e-05/0.1933, allocations: 3.938 kB / 0.7667 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.885e-05/0.1934, allocations: 7.984 kB / 0.7667 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.1934, allocations: 0 / 0.7667 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.038e-05/0.1935, allocations: 15.98 kB / 0.7667 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.248e-05/0.1935, allocations: 4 kB / 0.7667 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.02e-05/0.1935, allocations: 3.938 kB / 0.7667 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.1936, allocations: 20.25 kB / 0.7667 GB, free: 8.102 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.1937, allocations: 0 / 0.7667 GB, free: 8.102 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1937, allocations: 0 / 0.7667 GB, free: 8.102 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.1937, allocations: 0 / 0.7667 GB, free: 8.102 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.0004464/0.1941, allocations: 319.5 kB / 0.767 GB, free: 7.738 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.1942, allocations: 12.03 kB / 0.767 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.689e-05/0.1942, allocations: 30.75 kB / 0.7671 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001868/0.1944, allocations: 12.92 kB / 0.7671 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.1946, allocations: 160.4 kB / 0.7672 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.1946, allocations: 384 / 0.7672 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/0.1946, allocations: 4.375 kB / 0.7672 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.1948, allocations: 42.23 kB / 0.7673 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.1948, allocations: 7.875 kB / 0.7673 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.1948, allocations: 0 / 0.7673 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.1948, allocations: 0 / 0.7673 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.195, allocations: 19.98 kB / 0.7673 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002034/0.1952, allocations: 153.6 kB / 0.7674 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/0.1954, allocations: 38.59 kB / 0.7675 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.422e-05/0.1955, allocations: 16.92 kB / 0.7675 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.1955, allocations: 3.938 kB / 0.7675 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.656e-05/0.1955, allocations: 38.55 kB / 0.7675 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.362e-06/0.1955, allocations: 3.938 kB / 0.7675 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0002614/0.1958, allocations: 57.58 kB / 0.7676 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.1959, allocations: 55.41 kB / 0.7676 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.411e-05/0.1959, allocations: 89.86 kB / 0.7677 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.196, allocations: 29.69 kB / 0.7678 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.301e-05/0.196, allocations: 80.14 kB / 0.7678 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.688e-05/0.1961, allocations: 7.953 kB / 0.7678 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.995e-05/0.1961, allocations: 17.72 kB / 0.7679 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.1963, allocations: 314.8 kB / 0.7682 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.374e-05/0.1963, allocations: 7.984 kB / 0.7682 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.113e-05/0.1964, allocations: 4 kB / 0.7682 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/0.1965, allocations: 24.78 kB / 0.7682 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1965, allocations: 0 / 0.7682 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001559/0.1967, allocations: 45.97 kB / 0.7682 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.1967, allocations: 11.94 kB / 0.7682 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.1967, allocations: 7.969 kB / 0.7683 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.1968, allocations: 7.984 kB / 0.7683 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005001/0.1973, allocations: 39.94 kB / 0.7683 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00184/0.1991, allocations: 1.404 MB / 0.7697 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.338e-05/0.1992, allocations: 4.031 kB / 0.7697 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.1992, allocations: 0 / 0.7697 GB, free: 4.691 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 0.0001001/0.1993, allocations: 110.4 kB / 0.7698 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.499e-05/0.1993, allocations: 4.094 kB / 0.7698 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.391e-05/0.1994, allocations: 11.5 kB / 0.7698 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.1994, allocations: 0 / 0.7698 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.1994, allocations: 0 / 0.7698 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.1994, allocations: 3.984 kB / 0.7698 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.1995, allocations: 153.6 kB / 0.7699 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1996, allocations: 0 / 0.7699 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005007/0.2001, allocations: 51.92 kB / 0.77 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.2001, allocations: 0 / 0.77 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.2001, allocations: 4 kB / 0.77 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001735/0.2018, allocations: 1.401 MB / 0.7714 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.2019, allocations: 4.125 kB / 0.7714 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001792/0.202, allocations: 84.97 kB / 0.7715 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.249e-05/0.2021, allocations: 85.09 kB / 0.7715 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.2021, allocations: 3.938 kB / 0.7715 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.857e-05/0.2022, allocations: 0 / 0.7715 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.185e-05/0.2022, allocations: 0 / 0.7715 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.874e-06/0.2022, allocations: 4 kB / 0.7715 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.043e-05/0.2023, allocations: 79.28 kB / 0.7716 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2023, allocations: 0 / 0.7716 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004067/0.2027, 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.0005622/0.2033, allocations: 0.6124 MB / 0.7722 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005913/0.2039, allocations: 59.91 kB / 0.7723 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2039, allocations: 0 / 0.7723 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003179/0.2042, allocations: 43.95 kB / 0.7723 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002288/0.2045, allocations: 4.781 kB / 0.7723 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005768/0.2051, allocations: 122.6 kB / 0.7724 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003629/0.2054, allocations: 0.6844 MB / 0.7731 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.762e-05/0.2055, allocations: 4 kB / 0.7731 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.946e-05/0.2055, allocations: 11.44 kB / 0.7731 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.2055, allocations: 0 / 0.7731 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3466/0.5522, allocations: 1.303 MB / 0.7744 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.78, allocations: 6.641 kB / 0.7744 GB, free: 14.29 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_PowerLinearized.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)