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.9158/0.9158, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 188.2 kB / 187.3 MB, free: 11.89 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.486/1.486, allocations: 221.3 MB / 441.4 MB, free: 4.609 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.0009779/0.000978, allocations: 101.4 kB / 0.5124 GB, free: 24.22 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002034/0.002034, allocations: 278.2 kB / 0.5939 GB, free: 7.945 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.209e-05/4.211e-05, allocations: 8 kB / 0.6836 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5293/0.5294, allocations: 82.75 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1323/0.6617, allocations: 107.9 MB / 0.8697 GB, free: 0.6719 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002792/0.6621, allocations: 83.88 kB / 0.8698 GB, free: 0.5898 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.002432/0.6645, allocations: 0.9518 MB / 0.8707 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.344e-06/0.6646, allocations: 0 / 0.8707 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.6646, allocations: 0 / 0.8707 GB, free: 15.64 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.0003428/0.6649, allocations: 318.6 kB / 0.871 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.591e-05/0.665, allocations: 12.03 kB / 0.871 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.056e-05/0.6651, allocations: 30.56 kB / 0.8711 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001381/0.6652, allocations: 7.984 kB / 0.8711 GB, free: 15.22 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.6653, allocations: 159.1 kB / 0.8712 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/0.6653, allocations: 11.94 kB / 0.8712 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.6654, allocations: 4 kB / 0.8712 GB, free: 15.01 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.6655, allocations: 37.64 kB / 0.8713 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.6655, allocations: 0 / 0.8713 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.6655, allocations: 0 / 0.8713 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.6655, allocations: 0 / 0.8713 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.614e-05/0.6656, allocations: 11.98 kB / 0.8713 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001783/0.6658, allocations: 149.6 kB / 0.8714 GB, free: 14.76 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.6659, allocations: 42.56 kB / 0.8715 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.128e-05/0.6659, allocations: 12.92 kB / 0.8715 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.6659, allocations: 3.938 kB / 0.8715 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/0.666, allocations: 34.56 kB / 0.8715 GB, free: 14.65 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.666, allocations: 0 / 0.8715 GB, free: 14.65 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0001487/0.6661, allocations: 41.78 kB / 0.8716 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.6662, allocations: 55.34 kB / 0.8716 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.975e-05/0.6662, allocations: 89 kB / 0.8717 GB, free: 14.44 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.6663, allocations: 25.7 kB / 0.8717 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.793e-05/0.6663, allocations: 80.14 kB / 0.8718 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.871e-05/0.6664, allocations: 11.91 kB / 0.8718 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-06/0.6664, allocations: 0 / 0.8718 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.6665, allocations: 314.8 kB / 0.8721 GB, free: 14 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.526e-05/0.6665, allocations: 4 kB / 0.8721 GB, free: 14 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.001e-05/0.6666, allocations: 4 kB / 0.8721 GB, free: 13.99 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.746e-05/0.6666, allocations: 12.08 kB / 0.8721 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.6666, allocations: 4 kB / 0.8721 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.162e-05/0.6667, allocations: 49.58 kB / 0.8722 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.6667, allocations: 13.52 kB / 0.8722 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.6667, allocations: 0 / 0.8722 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.6667, allocations: 0 / 0.8722 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003855/0.6671, allocations: 47.92 kB / 0.8722 GB, free: 13.86 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001205/0.6683, allocations: 1.282 MB / 0.8735 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.269e-05/0.6684, allocations: 9.859 kB / 0.8735 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.6684, allocations: 3.984 kB / 0.8735 GB, free: 12.44 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 () * 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 8.2e-05/0.6685, allocations: 105 kB / 0.8736 GB, free: 12.33 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.047e-06/0.6685, allocations: 3.953 kB / 0.8736 GB, free: 12.33 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.485e-05/0.6685, allocations: 7.5 kB / 0.8736 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.6685, allocations: 0 / 0.8736 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.81e-07/0.6685, allocations: 0 / 0.8736 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.6686, allocations: 0 / 0.8736 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.6687, allocations: 153.7 kB / 0.8738 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.6687, allocations: 0 / 0.8738 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003434/0.669, allocations: 43.94 kB / 0.8738 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.6691, allocations: 0 / 0.8738 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.6691, allocations: 7.938 kB / 0.8738 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001064/0.6701, allocations: 1.286 MB / 0.8751 GB, free: 10.65 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.6702, allocations: 8.188 kB / 0.8751 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001009/0.6703, allocations: 73.09 kB / 0.8752 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.466e-05/0.6703, allocations: 85.09 kB / 0.8752 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.422e-06/0.6703, allocations: 3.953 kB / 0.8752 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.871e-05/0.6704, allocations: 0 / 0.8752 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.375e-05/0.6704, allocations: 3.938 kB / 0.8752 GB, free: 10.44 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.6704, allocations: 4 kB / 0.8752 GB, free: 10.44 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.703e-05/0.6704, allocations: 79.28 kB / 0.8753 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6705, allocations: 0 / 0.8753 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001653/0.6706, allocations: 8 kB / 0.8753 GB, free: 10.35 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 () * 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.0004541/0.6711, allocations: 0.5969 MB / 0.8759 GB, free: 9.727 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003631/0.6715, allocations: 55.88 kB / 0.876 GB, free: 9.672 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.6715, allocations: 0 / 0.876 GB, free: 9.672 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001893/0.6717, allocations: 27.97 kB / 0.876 GB, free: 9.645 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.949e-05/0.6718, allocations: 3.953 kB / 0.876 GB, free: 9.641 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003137/0.6721, allocations: 91.11 kB / 0.8761 GB, free: 9.516 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.6725, allocations: 0.677 MB / 0.8767 GB, free: 8.812 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.524e-05/0.6725, allocations: 4 kB / 0.8767 GB, free: 8.809 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.157e-05/0.6726, allocations: 11.44 kB / 0.8768 GB, free: 8.797 MB / 0.5417 GB Notification: Performance of SimCode: time 3.1e-07/0.6726, allocations: 0 / 0.8768 GB, free: 8.797 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04213/0.7147, allocations: 1.082 MB / 0.8778 GB, free: 7.938 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002767/0.715, allocations: 198.8 kB / 0.878 GB, free: 7.715 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.645/2.36, allocations: 3.938 kB / 0.878 GB, free: 7.711 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)