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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7954/0.7954, allocations: 143.3 MB / 158.3 MB, free: 5.766 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 173.1 kB / 191.5 MB, free: 5.746 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.591/1.591, allocations: 223.2 MB / 447.7 MB, free: 4.805 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008738/0.0008737, allocations: 88.33 kB / 0.5187 GB, free: 1.156 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001743/0.001743, allocations: 267.3 kB / 0.6005 GB, free: 48.71 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004372/0.0004372, allocations: 13.62 kB / 0.6929 GB, free: 59.66 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1728, allocations: 82.8 MB / 0.7738 GB, free: 13.7 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1578/0.3306, allocations: 107.9 MB / 0.8792 GB, free: 1.629 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002058/0.3309, allocations: 75.95 kB / 0.8793 GB, free: 1.555 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.002253/0.3331, allocations: 0.9687 MB / 0.8802 GB, free: 0.582 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.354e-06/0.3331, allocations: 0 / 0.8802 GB, free: 0.582 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.3332, allocations: 0 / 0.8802 GB, free: 0.582 MB / 0.5417 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.0002715/0.3334, allocations: 319.4 kB / 0.8805 GB, free: 228 kB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.3335, allocations: 8.031 kB / 0.8805 GB, free: 220 kB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.573e-05/0.3335, allocations: 34.55 kB / 0.8806 GB, free: 176 kB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.3337, allocations: 15.98 kB / 0.8806 GB, free: 160 kB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3367/0.6704, allocations: 159.1 kB / 0.8807 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.725e-05/0.6705, allocations: 1.672 kB / 0.8807 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.72e-05/0.6705, allocations: 1.344 kB / 0.8807 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.6707, allocations: 38 kB / 0.8808 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.6707, allocations: 1.438 kB / 0.8808 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.6707, allocations: 1.281 kB / 0.8808 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.6707, allocations: 0.5156 kB / 0.8808 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.441e-05/0.6708, allocations: 16.27 kB / 0.8808 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001269/0.6709, allocations: 153.1 kB / 0.8809 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.6711, allocations: 42.48 kB / 0.881 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.6711, allocations: 1.375 kB / 0.881 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/0.6711, allocations: 32.45 kB / 0.881 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=3): time 1.894e-06/0.6711, allocations: 6.266 kB / 0.881 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0002076/0.6714, allocations: 62.83 kB / 0.8811 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.482e-05/0.6714, allocations: 52.95 kB / 0.8811 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.407e-05/0.6714, allocations: 85 kB / 0.8812 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 7.795e-06/0.6714, allocations: 27.95 kB / 0.8812 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 1.155e-05/0.6714, allocations: 81.92 kB / 0.8813 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/0.6715, allocations: 12.97 kB / 0.8813 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-06/0.6715, allocations: 1.094 kB / 0.8813 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 4.386e-05/0.6715, allocations: 314.8 kB / 0.8816 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.686e-05/0.6716, allocations: 7.891 kB / 0.8816 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.71e-05/0.6716, allocations: 6.703 kB / 0.8816 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.196e-05/0.6717, allocations: 10.34 kB / 0.8816 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.6717, allocations: 0 / 0.8816 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.541e-05/0.6718, allocations: 54.69 kB / 0.8817 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.6718, allocations: 4.312 kB / 0.8817 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.6718, allocations: 1.516 kB / 0.8817 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.6718, allocations: 3.938 kB / 0.8817 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000367/0.6722, allocations: 46.67 kB / 0.8817 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009305/0.6731, allocations: 1.313 MB / 0.883 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.915e-05/0.6732, allocations: 5.344 kB / 0.883 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.381e-06/0.6732, allocations: 0.875 kB / 0.883 GB, free: 106.9 MB / 0.5417 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.161e-05/0.6732, allocations: 115.6 kB / 0.8831 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.526e-06/0.6733, allocations: 0.9375 kB / 0.8831 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.088e-05/0.6733, allocations: 6.188 kB / 0.8832 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.6733, allocations: 1.156 kB / 0.8832 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.6733, allocations: 5.141 kB / 0.8832 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.6733, allocations: 0.7188 kB / 0.8832 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.717e-05/0.6734, allocations: 151.2 kB / 0.8833 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.6734, allocations: 3.938 kB / 0.8833 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003356/0.6737, allocations: 50.3 kB / 0.8834 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.6737, allocations: 1.703 kB / 0.8834 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.6737, allocations: 0 / 0.8834 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008091/0.6745, allocations: 1.322 MB / 0.8846 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6746, allocations: 8.016 kB / 0.8847 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001025/0.6747, allocations: 74.48 kB / 0.8847 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 1.547e-05/0.6747, allocations: 78.3 kB / 0.8848 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.072e-06/0.6747, allocations: 0 / 0.8848 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.62e-05/0.6747, allocations: 2.844 kB / 0.8848 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.566e-05/0.6748, allocations: 7.797 kB / 0.8848 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-06/0.6748, allocations: 6.938 kB / 0.8848 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 1.623e-05/0.6748, allocations: 80.73 kB / 0.8849 GB, free: 105 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.192e-06/0.6748, allocations: 0 / 0.8849 GB, free: 105 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000176/0.675, allocations: 5.297 kB / 0.8849 GB, free: 105 MB / 0.5417 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.0002824/0.6753, allocations: 0.6101 MB / 0.8855 GB, free: 104.4 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003746/0.6757, allocations: 57.7 kB / 0.8856 GB, free: 104.4 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.6757, allocations: 0 / 0.8856 GB, free: 104.4 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001918/0.6759, allocations: 37.64 kB / 0.8856 GB, free: 104.4 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.242e-05/0.676, allocations: 7.062 kB / 0.8856 GB, free: 104.4 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003839/0.6764, allocations: 124 kB / 0.8857 GB, free: 104.2 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/0.6765, allocations: 0.6768 MB / 0.8864 GB, free: 103.5 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.632e-05/0.6765, allocations: 3.469 kB / 0.8864 GB, free: 103.5 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.402e-05/0.6766, allocations: 11.44 kB / 0.8864 GB, free: 103.5 MB / 0.5417 GB Notification: Performance of SimCode: time 3.71e-07/0.6766, allocations: 3.938 kB / 0.8864 GB, free: 103.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0118/0.6884, allocations: 1.065 MB / 0.8874 GB, free: 103.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001396/0.6886, allocations: 233.6 kB / 0.8877 GB, free: 103.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.435/2.123, allocations: 0 / 0.8877 GB, free: 103.2 MB / 0.5417 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/linux/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)