Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.Examples.PowerLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_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.8383/0.8383, allocations: 143.4 MB / 158.3 MB, free: 5.777 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.001043/0.001043, allocations: 177.1 kB / 191.5 MB, free: 5.75 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.566/1.566, allocations: 223.2 MB / 447.7 MB, free: 6.535 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.0008968/0.0008967, allocations: 100.3 kB / 0.5188 GB, free: 2.879 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001776/0.001776, allocations: 270 kB / 0.6005 GB, free: 48.95 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004387/0.0004387, allocations: 12 kB / 0.6929 GB, free: 2.184 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4045/0.405, allocations: 82.78 MB / 0.7738 GB, free: 26.17 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1518/0.5568, allocations: 108.6 MB / 0.8799 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002189/0.557, allocations: 71.97 kB / 0.8799 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.001975/0.559, allocations: 0.7831 MB / 0.8807 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.763e-06/0.559, allocations: 0 / 0.8807 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.5591, allocations: 0 / 0.8807 GB, free: 12.56 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.0004023/0.5595, allocations: 347.2 kB / 0.881 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.5595, allocations: 12.03 kB / 0.881 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.466e-05/0.5596, allocations: 34.56 kB / 0.8811 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001506/0.5597, allocations: 15.98 kB / 0.8811 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.5599, allocations: 167.1 kB / 0.8812 GB, free: 11.9 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/0.5599, allocations: 3.953 kB / 0.8812 GB, free: 11.9 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-06/0.5599, allocations: 0 / 0.8812 GB, free: 11.9 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/0.5601, allocations: 69.61 kB / 0.8813 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.5602, allocations: 0 / 0.8813 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.5602, allocations: 0 / 0.8813 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.5602, allocations: 0 / 0.8813 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002205/0.5604, allocations: 67.94 kB / 0.8814 GB, free: 11.76 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004452/0.5609, allocations: 276.8 kB / 0.8816 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/0.5611, allocations: 62.55 kB / 0.8817 GB, free: 11.37 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.5611, allocations: 3.938 kB / 0.8817 GB, free: 11.36 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.5611, allocations: 30.56 kB / 0.8817 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.443e-06/0.5611, allocations: 0 / 0.8817 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0004291/0.5616, allocations: 129.6 kB / 0.8819 GB, free: 11.19 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.5616, allocations: 59.52 kB / 0.8819 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.833e-05/0.5617, allocations: 97 kB / 0.882 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.5617, allocations: 29.64 kB / 0.882 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.058e-05/0.5618, allocations: 80.14 kB / 0.8821 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.5618, allocations: 7.906 kB / 0.8821 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/0.5618, allocations: 0 / 0.8821 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.562, allocations: 318.8 kB / 0.8824 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.5621, allocations: 31.98 kB / 0.8825 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.504e-05/0.5622, allocations: 35.91 kB / 0.8825 GB, free: 10.51 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001052/0.5623, allocations: 39.98 kB / 0.8825 GB, free: 10.47 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5623, allocations: 0 / 0.8825 GB, free: 10.47 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002428/0.5626, allocations: 97.59 kB / 0.8826 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.5626, allocations: 4 kB / 0.8826 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.5626, allocations: 256 / 0.8826 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.5626, allocations: 0 / 0.8826 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.5627, allocations: 19.98 kB / 0.8826 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.5628, allocations: 0 / 0.8826 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.587e-05/0.5628, allocations: 11.98 kB / 0.8827 GB, free: 10.33 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-06/0.5628, allocations: 4.031 kB / 0.8827 GB, free: 10.33 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 (2): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.716e-05/0.5629, allocations: 114.3 kB / 0.8828 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.183e-05/0.563, allocations: 0 / 0.8828 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.897e-05/0.563, allocations: 11.52 kB / 0.8828 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.563, allocations: 4 kB / 0.8828 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.563, allocations: 0 / 0.8828 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.563, allocations: 0 / 0.8828 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.5632, allocations: 161.6 kB / 0.8829 GB, free: 9.984 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.5632, allocations: 7.953 kB / 0.8829 GB, free: 9.977 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.333e-05/0.5633, allocations: 15.98 kB / 0.883 GB, free: 9.961 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.5633, allocations: 3.984 kB / 0.883 GB, free: 9.957 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.5633, allocations: 0 / 0.883 GB, free: 9.957 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.5633, allocations: 4 kB / 0.883 GB, free: 9.953 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.5633, allocations: 0 / 0.883 GB, free: 9.953 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002806/0.5636, allocations: 195.4 kB / 0.8832 GB, free: 9.746 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.756e-05/0.5637, allocations: 81.06 kB / 0.8832 GB, free: 9.648 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.5637, allocations: 0 / 0.8832 GB, free: 9.648 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.366e-05/0.5638, allocations: 16.02 kB / 0.8832 GB, free: 9.633 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-05/0.5638, allocations: 4 kB / 0.8832 GB, free: 9.629 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.5638, allocations: 0 / 0.8832 GB, free: 9.629 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.255e-05/0.5639, allocations: 91.2 kB / 0.8833 GB, free: 9.539 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5639, allocations: 0 / 0.8833 GB, free: 9.539 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001945/0.5641, allocations: 4 kB / 0.8833 GB, free: 9.535 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 (2): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006469/0.5648, allocations: 0.7241 MB / 0.884 GB, free: 8.785 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002694/0.565, allocations: 63.98 kB / 0.8841 GB, free: 8.723 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.565, allocations: 4 kB / 0.8841 GB, free: 8.719 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.5652, allocations: 39.97 kB / 0.8841 GB, free: 8.68 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001918/0.5654, allocations: 4 kB / 0.8842 GB, free: 8.676 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005004/0.5659, allocations: 166.3 kB / 0.8843 GB, free: 8.469 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.5662, allocations: 0.6809 MB / 0.885 GB, free: 7.762 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.102e-05/0.5662, allocations: 0 / 0.885 GB, free: 7.762 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.021e-05/0.5662, allocations: 15.36 kB / 0.885 GB, free: 7.746 MB / 0.5417 GB Notification: Performance of SimCode: time 2.8e-07/0.5663, allocations: 0 / 0.885 GB, free: 7.746 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01229/0.5786, allocations: 1.188 MB / 0.8862 GB, free: 6.695 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001744/0.5788, allocations: 195.4 kB / 0.8863 GB, free: 6.453 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.508/2.087, allocations: 0 / 0.8863 GB, free: 6.453 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_PowerLinearized.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)