Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.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) 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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface") translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.684/1.684, allocations: 297.8 MB / 313.7 MB, free: 148 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 180.2 kB / 384.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 223.2 MB / 0.6626 GB, free: 4.355 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000804/0.0008039, allocations: 92.77 kB / 0.7808 GB, free: 43.56 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004175/0.0004174, allocations: 16.52 kB / 0.9088 GB, free: 0.6758 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6674/0.6678, allocations: 120.3 MB / 1.026 GB, free: 56.41 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1935/0.8614, allocations: 142.2 MB / 1.165 GB, free: 56 kB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/0.8617, allocations: 80.03 kB / 1.165 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.009446/0.8711, allocations: 3.23 MB / 1.168 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.058e-06/0.8712, allocations: 0 / 1.168 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.909e-05/0.8712, allocations: 4 kB / 1.168 GB, free: 12.8 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0007442/0.872, allocations: 391.2 kB / 1.169 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 7.411e-05/0.8721, allocations: 8.031 kB / 1.169 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000826/0.8729, allocations: 96.73 kB / 1.169 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.8732, allocations: 177.2 kB / 1.169 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.088e-05/0.8732, allocations: 4.375 kB / 1.169 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.134e-05/0.8732, allocations: 10.58 kB / 1.169 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005923/0.8738, allocations: 174 kB / 1.169 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.8739, allocations: 4.125 kB / 1.169 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.635e-05/0.8739, allocations: 11.94 kB / 1.169 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.8739, allocations: 3.984 kB / 1.169 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007385/0.8747, allocations: 177.9 kB / 1.169 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.8758, allocations: 452.5 kB / 1.17 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000661/0.8765, allocations: 158.4 kB / 1.17 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003458/0.8768, allocations: 80.92 kB / 1.17 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.8769, allocations: 0 / 1.17 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.8769, allocations: 42.55 kB / 1.17 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 1.533e-06/0.8769, allocations: 3.938 kB / 1.17 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5): time 0.001148/0.8781, allocations: 281.3 kB / 1.17 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.8781, allocations: 55.34 kB / 1.17 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.8783, allocations: 156.1 kB / 1.171 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.8783, allocations: 25.7 kB / 1.171 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.965e-05/0.8784, allocations: 100 kB / 1.171 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.17e-05/0.8784, allocations: 19.73 kB / 1.171 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.476e-06/0.8785, allocations: 8 kB / 1.171 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.8786, allocations: 318.8 kB / 1.171 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003498/0.879, allocations: 75.94 kB / 1.171 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003261/0.8793, allocations: 83.91 kB / 1.171 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006264/0.8799, allocations: 165.3 kB / 1.171 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.88, allocations: 0 / 1.171 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007491/0.8807, allocations: 209.4 kB / 1.172 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.595e-05/0.8808, allocations: 100.9 kB / 1.172 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.066e-06/0.8808, allocations: 4 kB / 1.172 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.8808, allocations: 0 / 1.172 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002871/0.8811, allocations: 39.95 kB / 1.172 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.8812, allocations: 0 / 1.172 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002326/0.8814, allocations: 35.88 kB / 1.172 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.8814, allocations: 7.984 kB / 1.172 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.8814, allocations: 4 kB / 1.172 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002085/0.8817, allocations: 79.83 kB / 1.172 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.943e-06/0.8817, allocations: 0 / 1.172 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.304e-06/0.8817, allocations: 0 / 1.172 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.19e-05/0.8818, allocations: 20.55 kB / 1.172 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.244e-06/0.8818, allocations: 0 / 1.172 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.179e-05/0.8818, allocations: 11.94 kB / 1.172 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.8819, allocations: 3.938 kB / 1.172 GB, free: 9.059 MB / 0.7448 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 (7): * Single equations (assignments): 7 * 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 0.0001593/0.882, allocations: 201.6 kB / 1.172 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.483e-05/0.8821, allocations: 11.81 kB / 1.172 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.026e-05/0.8821, allocations: 12.31 kB / 1.172 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.8821, allocations: 0 / 1.172 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.8822, allocations: 3.703 kB / 1.172 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.8822, allocations: 7.875 kB / 1.172 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.8833, allocations: 0.4922 MB / 1.173 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.8833, allocations: 0 / 1.173 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002335/0.8836, allocations: 40.2 kB / 1.173 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.8836, allocations: 3.938 kB / 1.173 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.8836, allocations: 8.047 kB / 1.173 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.8836, allocations: 8 kB / 1.173 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.8836, allocations: 0 / 1.173 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007927/0.8844, allocations: 313 kB / 1.173 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.995e-05/0.8845, allocations: 93 kB / 1.173 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.859e-05/0.8845, allocations: 7.922 kB / 1.173 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002391/0.8848, allocations: 31.97 kB / 1.173 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.834e-05/0.8848, allocations: 4 kB / 1.173 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.8849, allocations: 7.984 kB / 1.173 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001043/0.885, allocations: 120.9 kB / 1.173 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.21e-07/0.885, allocations: 0 / 1.173 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003131/0.8853, allocations: 39.84 kB / 1.173 GB, free: 7.562 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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.000158/0.8855, allocations: 103.2 kB / 1.173 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0008391/0.8863, allocations: 211.7 kB / 1.173 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.8863, allocations: 0 / 1.173 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003605/0.8867, allocations: 87.98 kB / 1.174 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.8871, allocations: 19.88 kB / 1.174 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.8881, allocations: 313.1 kB / 1.174 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.8885, allocations: 0.6934 MB / 1.175 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001094/0.8886, allocations: 23.92 kB / 1.175 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.758e-05/0.8887, allocations: 19.42 kB / 1.175 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of SimCode: time 5.81e-07/0.8887, allocations: 0 / 1.175 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of Templates: time 0.003879/0.8926, allocations: 1.285 MB / 1.176 GB, free: 4.77 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & ./Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)