Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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: translateModel(BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") translateModel(BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8645/0.8645, allocations: 140.1 MB / 156 MB, free: 5.152 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001381/0.001381, allocations: 176.8 kB / 188.5 MB, free: 15.8 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.693/1.693, allocations: 205.4 MB / 426.3 MB, free: 8.371 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008179/0.000818, allocations: 93.23 kB / 0.4945 GB, free: 8.316 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001814/0.001814, allocations: 263.9 kB / 0.5728 GB, free: 66.2 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005152/0.0005154, allocations: 20 kB / 0.662 GB, free: 6.773 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5655/0.566, allocations: 79.3 MB / 0.7395 GB, free: 46.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2328/0.7989, allocations: 119.2 MB / 0.8559 GB, free: 6.965 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003645/0.7993, allocations: 91.94 kB / 0.856 GB, free: 6.875 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.05214/0.8515, allocations: 11.22 MB / 0.8669 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.715e-06/0.8515, allocations: 0 / 0.8669 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.917e-05/0.8516, allocations: 12 kB / 0.8669 GB, free: 11.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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001791/0.8534, allocations: 0.6581 MB / 0.8676 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.8535, allocations: 16.02 kB / 0.8676 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003681/0.8538, allocations: 48.53 kB / 0.8676 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001503/0.8554, allocations: 0.5896 MB / 0.8682 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.8554, allocations: 12.38 kB / 0.8682 GB, free: 10.22 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.154e-05/0.8555, allocations: 12.38 kB / 0.8682 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004301/0.8559, allocations: 154.2 kB / 0.8684 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.8559, allocations: 7.938 kB / 0.8684 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/0.8559, allocations: 0 / 0.8684 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.856, allocations: 0 / 0.8684 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004378/0.8564, allocations: 131.8 kB / 0.8685 GB, free: 9.914 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.8574, allocations: 0.5002 MB / 0.869 GB, free: 9.363 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004055/0.8579, allocations: 134.5 kB / 0.8691 GB, free: 9.223 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002206/0.8581, allocations: 64.83 kB / 0.8692 GB, free: 9.156 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.278e-05/0.8582, allocations: 7.984 kB / 0.8692 GB, free: 9.148 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.8582, allocations: 30.56 kB / 0.8692 GB, free: 9.109 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=8): time 1.563e-06/0.8582, allocations: 0 / 0.8692 GB, free: 9.109 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8): time 0.0008823/0.8591, allocations: 241.2 kB / 0.8695 GB, free: 8.867 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.8592, allocations: 51.41 kB / 0.8695 GB, free: 8.805 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004284/0.8596, allocations: 340.3 kB / 0.8698 GB, free: 8.461 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.16e-05/0.8596, allocations: 29.7 kB / 0.8699 GB, free: 8.426 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.8598, allocations: 156.2 kB / 0.87 GB, free: 8.27 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.619e-05/0.8598, allocations: 27.66 kB / 0.87 GB, free: 8.242 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.536e-05/0.8599, allocations: 4 kB / 0.87 GB, free: 8.238 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.86, allocations: 338.8 kB / 0.8704 GB, free: 7.898 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000233/0.8603, allocations: 67.94 kB / 0.8704 GB, free: 7.832 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002892/0.8606, allocations: 136.5 kB / 0.8706 GB, free: 7.668 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005179/0.8611, allocations: 210.6 kB / 0.8708 GB, free: 7.438 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.8611, allocations: 0 / 0.8708 GB, free: 7.438 MB / 0.5417 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006842/0.8618, allocations: 257 kB / 0.871 GB, free: 7.18 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001304/0.862, allocations: 140.6 kB / 0.8711 GB, free: 7.016 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.862, allocations: 0 / 0.8711 GB, free: 7.016 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.269e-05/0.862, allocations: 7.938 kB / 0.8712 GB, free: 7.008 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000322/0.8623, allocations: 51.89 kB / 0.8712 GB, free: 6.957 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/0.8624, allocations: 8 kB / 0.8712 GB, free: 6.949 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002216/0.8626, allocations: 27.83 kB / 0.8712 GB, free: 6.922 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.686e-05/0.8627, allocations: 19.98 kB / 0.8713 GB, free: 6.902 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.8627, allocations: 4 kB / 0.8713 GB, free: 6.898 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006212/0.8633, allocations: 211.6 kB / 0.8715 GB, free: 6.691 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.8633, allocations: 4 kB / 0.8715 GB, free: 6.688 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.51e-06/0.8633, allocations: 0 / 0.8715 GB, free: 6.688 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002365/0.8636, allocations: 52.11 kB / 0.8715 GB, free: 6.637 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.8636, allocations: 8 kB / 0.8715 GB, free: 6.629 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.8638, allocations: 27.83 kB / 0.8715 GB, free: 6.602 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.645e-05/0.8639, allocations: 12 kB / 0.8716 GB, free: 6.59 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (18): * Single equations (assignments): 17 * Array equations: 1 * 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.0002475/0.8641, allocations: 233 kB / 0.8718 GB, free: 6.352 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.141e-05/0.8642, allocations: 31.56 kB / 0.8718 GB, free: 6.32 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000637/0.8648, allocations: 204.2 kB / 0.872 GB, free: 6.109 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.65e-05/0.8649, allocations: 8 kB / 0.872 GB, free: 6.102 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.8649, allocations: 0 / 0.872 GB, free: 6.102 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.8649, allocations: 0 / 0.872 GB, free: 6.102 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003849/0.8653, allocations: 277.3 kB / 0.8723 GB, free: 5.781 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.8653, allocations: 0 / 0.8723 GB, free: 5.781 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001722/0.8655, allocations: 23.98 kB / 0.8723 GB, free: 5.758 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.8655, allocations: 0 / 0.8723 GB, free: 5.758 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.8655, allocations: 7.984 kB / 0.8723 GB, free: 5.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.8655, allocations: 0 / 0.8723 GB, free: 5.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.8655, allocations: 4 kB / 0.8723 GB, free: 5.746 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005755/0.8661, allocations: 290.9 kB / 0.8726 GB, free: 5.445 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001641/0.8663, allocations: 104.8 kB / 0.8727 GB, free: 5.324 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.324e-05/0.8663, allocations: 4 kB / 0.8727 GB, free: 5.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001821/0.8665, allocations: 11.98 kB / 0.8727 GB, free: 5.309 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.201e-05/0.8666, allocations: 7.984 kB / 0.8727 GB, free: 5.301 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.061e-05/0.8666, allocations: 4 kB / 0.8727 GB, free: 5.297 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003174/0.867, allocations: 239 kB / 0.8729 GB, free: 5.066 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.01e-07/0.867, allocations: 0 / 0.8729 GB, free: 5.066 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000927/0.8679, allocations: 179.8 kB / 0.8731 GB, free: 4.891 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 (9): * Single equations (assignments): 9 * 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.001026/0.8689, allocations: 412.1 kB / 0.8735 GB, free: 4.484 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0008915/0.8698, allocations: 288 kB / 0.8738 GB, free: 4.203 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.8699, allocations: 0 / 0.8738 GB, free: 4.203 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002174/0.8701, allocations: 71.95 kB / 0.8739 GB, free: 4.133 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006568/0.8708, allocations: 95.77 kB / 0.8739 GB, free: 4.043 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.8719, allocations: 0.5181 MB / 0.8744 GB, free: 3.492 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004419/0.8723, allocations: 0.768 MB / 0.8752 GB, free: 2.699 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004323/0.8728, allocations: 83.25 kB / 0.8753 GB, free: 2.621 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.8729, allocations: 31.42 kB / 0.8753 GB, free: 2.59 MB / 0.5417 GB Notification: Performance of SimCode: time 5.11e-07/0.8729, allocations: 0 / 0.8753 GB, free: 2.59 MB / 0.5417 GB Notification: Performance of Templates: time 0.01483/0.8878, allocations: 7.909 MB / 0.883 GB, free: 10.75 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)