Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.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: translateModel(BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface") translateModel(BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8123/0.8123, allocations: 141.8 MB / 149.3 MB, free: 9.199 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.001025/0.001025, allocations: 180.1 kB / 182.2 MB, free: 9.449 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.5 MB / 436.4 MB, free: 13.32 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.0009279/0.0009276, allocations: 88.11 kB / 0.5074 GB, free: 10.15 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00172/0.00172, allocations: 276.9 kB / 0.5889 GB, free: 54.63 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.517e-05/1.519e-05, allocations: 4 kB / 0.6765 GB, free: 12.79 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4333/0.4333, allocations: 82.77 MB / 0.7574 GB, free: 31.96 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1523/0.5857, allocations: 108.8 MB / 0.8637 GB, free: 2.977 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002095/0.586, allocations: 87.81 kB / 0.8638 GB, free: 2.895 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.008902/0.5949, allocations: 3.212 MB / 0.8669 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.854e-06/0.5949, allocations: 0 / 0.8669 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.5949, allocations: 0 / 0.8669 GB, free: 15.68 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000447/0.5954, allocations: 387.2 kB / 0.8673 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.5954, allocations: 8.031 kB / 0.8673 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007518/0.5962, allocations: 99.78 kB / 0.8674 GB, free: 15.15 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.5963, allocations: 170.9 kB / 0.8675 GB, free: 14.94 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.5964, allocations: 7.953 kB / 0.8675 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.5964, allocations: 4 kB / 0.8675 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001649/0.5966, allocations: 67.92 kB / 0.8676 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.5967, allocations: 93.62 kB / 0.8677 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.5968, allocations: 0 / 0.8677 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.5968, allocations: 4 kB / 0.8677 GB, free: 14.76 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.5968, allocations: 4 kB / 0.8677 GB, free: 14.76 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009757/0.5978, allocations: 420.9 kB / 0.8681 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001421/0.5979, allocations: 66.55 kB / 0.8682 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.698e-05/0.598, allocations: 28.98 kB / 0.8682 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.598, allocations: 4 kB / 0.8682 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.598, allocations: 38.52 kB / 0.8682 GB, free: 14.15 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.5981, allocations: 0 / 0.8682 GB, free: 14.15 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5): time 0.0002468/0.5983, allocations: 89.66 kB / 0.8683 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.5984, allocations: 55.41 kB / 0.8684 GB, free: 13.99 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.716e-05/0.5985, allocations: 115 kB / 0.8685 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.5985, allocations: 25.7 kB / 0.8685 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.202e-05/0.5986, allocations: 107.9 kB / 0.8686 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.101e-05/0.5986, allocations: 19.75 kB / 0.8686 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.969e-06/0.5986, allocations: 4 kB / 0.8686 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.5987, allocations: 314.8 kB / 0.8689 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.072e-05/0.5988, allocations: 24 kB / 0.8689 GB, free: 13.37 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.883e-05/0.5989, allocations: 33.7 kB / 0.869 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.64e-05/0.5989, allocations: 15.98 kB / 0.869 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.5989, allocations: 4 kB / 0.869 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000157/0.5991, allocations: 93.56 kB / 0.8691 GB, free: 13.22 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 6.669e-05/0.5992, allocations: 113.5 kB / 0.8692 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.5992, allocations: 0 / 0.8692 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.5992, allocations: 0 / 0.8692 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002855/0.5995, allocations: 39.95 kB / 0.8692 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.5995, allocations: 3.938 kB / 0.8692 GB, free: 13.06 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002203/0.5997, allocations: 31.88 kB / 0.8693 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.975e-05/0.5997, allocations: 7.984 kB / 0.8693 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 8.146e-06/0.5998, allocations: 6.031 kB / 0.8693 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 6.798e-05/0.5998, allocations: 33.06 kB / 0.8693 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-06/0.5998, allocations: 0 / 0.8693 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.446e-06/0.5998, allocations: 4 kB / 0.8693 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.546e-05/0.5999, allocations: 19.98 kB / 0.8693 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-06/0.5999, allocations: 7.938 kB / 0.8693 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.525e-05/0.6, allocations: 12 kB / 0.8694 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.536e-06/0.6, allocations: 0 / 0.8694 GB, free: 12.95 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 (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 8.319e-05/0.6001, allocations: 108.9 kB / 0.8695 GB, free: 12.83 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.346e-05/0.6001, allocations: 15.89 kB / 0.8695 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.488e-05/0.6002, allocations: 12.39 kB / 0.8695 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.6002, allocations: 0 / 0.8695 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.6002, allocations: 0 / 0.8695 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.6002, allocations: 4 kB / 0.8695 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004225/0.6007, allocations: 364.6 kB / 0.8698 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.6007, allocations: 0 / 0.8698 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002564/0.6009, allocations: 44.02 kB / 0.8699 GB, free: 12.35 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.6009, allocations: 0 / 0.8699 GB, free: 12.35 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.601, allocations: 3.984 kB / 0.8699 GB, free: 12.35 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.601, allocations: 4 kB / 0.8699 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.601, allocations: 0 / 0.8699 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002173/0.6012, allocations: 228.5 kB / 0.8701 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.674e-05/0.6013, allocations: 96.98 kB / 0.8702 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.6013, allocations: 3.953 kB / 0.8702 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002792/0.6016, allocations: 31.97 kB / 0.8702 GB, free: 11.94 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.16e-05/0.6016, allocations: 4 kB / 0.8702 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.6017, allocations: 7.984 kB / 0.8702 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.404e-05/0.6017, allocations: 92.83 kB / 0.8703 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6017, allocations: 0 / 0.8703 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003081/0.602, allocations: 35.84 kB / 0.8704 GB, free: 11.8 MB / 0.5417 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 () * 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.0001351/0.6022, allocations: 103.2 kB / 0.8705 GB, free: 11.69 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001878/0.6024, allocations: 89.25 kB / 0.8706 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.6024, allocations: 0 / 0.8706 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 6.332e-05/0.6025, allocations: 31.92 kB / 0.8706 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001879/0.6026, allocations: 8 kB / 0.8706 GB, free: 11.56 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006453/0.6033, allocations: 165.9 kB / 0.8707 GB, free: 11.37 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.6036, allocations: 0.7041 MB / 0.8714 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001044/0.6037, allocations: 12 kB / 0.8714 GB, free: 10.63 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.679e-05/0.6038, allocations: 19.41 kB / 0.8715 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of SimCode: time 2.31e-07/0.6038, allocations: 0 / 0.8715 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of Templates: time 0.003276/0.6071, allocations: 1.208 MB / 0.8726 GB, free: 9.406 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)