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.8771/0.8771, allocations: 141.7 MB / 154.3 MB, free: 15.47 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.00101/0.00101, allocations: 190.1 kB / 187.3 MB, free: 11.88 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.355/1.355, allocations: 221.3 MB / 441.4 MB, free: 4.664 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.0008496/0.0008497, allocations: 89.41 kB / 0.5124 GB, free: 24.13 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001716/0.001716, allocations: 281.3 kB / 0.5939 GB, free: 7.969 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.939e-05/3.956e-05, allocations: 4 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6112/0.6112, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1197/0.731, allocations: 109.5 MB / 0.8712 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001989/0.7313, allocations: 79.83 kB / 0.8713 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.008844/0.7401, allocations: 3.225 MB / 0.8744 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7402, allocations: 0 / 0.8744 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.7402, allocations: 0 / 0.8744 GB, free: 11.74 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.0004075/0.7406, allocations: 378.2 kB / 0.8748 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.7406, allocations: 12.03 kB / 0.8748 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007468/0.7414, allocations: 95.8 kB / 0.8749 GB, free: 11.22 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.7415, allocations: 180.3 kB / 0.8751 GB, free: 11.01 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.7416, allocations: 7.953 kB / 0.8751 GB, free: 11 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.352e-05/0.7416, allocations: 8 kB / 0.8751 GB, free: 10.99 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002064/0.7418, allocations: 107.2 kB / 0.8752 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.7418, allocations: 0 / 0.8752 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/0.7419, allocations: 7.938 kB / 0.8752 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.7419, allocations: 8 kB / 0.8752 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.742, allocations: 67.92 kB / 0.8753 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009618/0.743, allocations: 456.4 kB / 0.8757 GB, free: 10.3 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001487/0.7431, allocations: 62.56 kB / 0.8758 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.615e-05/0.7432, allocations: 32.98 kB / 0.8758 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.7432, allocations: 3.953 kB / 0.8758 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.7433, allocations: 38.55 kB / 0.8758 GB, free: 10.15 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=5): time 1.203e-06/0.7433, allocations: 0 / 0.8758 GB, free: 10.15 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5): time 0.0002354/0.7435, allocations: 97.5 kB / 0.8759 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.7436, allocations: 55.41 kB / 0.876 GB, free: 9.98 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.7437, allocations: 155.7 kB / 0.8761 GB, free: 9.824 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.7437, allocations: 25.7 kB / 0.8762 GB, free: 9.793 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.378e-05/0.7438, allocations: 104 kB / 0.8763 GB, free: 9.688 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/0.7438, allocations: 19.69 kB / 0.8763 GB, free: 9.668 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.727e-06/0.7438, allocations: 8 kB / 0.8763 GB, free: 9.66 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.7439, allocations: 314.8 kB / 0.8766 GB, free: 9.344 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.224e-05/0.744, allocations: 31.98 kB / 0.8766 GB, free: 9.312 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.528e-05/0.7441, allocations: 27.98 kB / 0.8767 GB, free: 9.285 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.8e-05/0.7441, allocations: 16 kB / 0.8767 GB, free: 9.27 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.7441, allocations: 0 / 0.8767 GB, free: 9.27 MB / 0.5417 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001819/0.7443, allocations: 108 kB / 0.8768 GB, free: 9.16 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 6.236e-05/0.7444, allocations: 100.9 kB / 0.8769 GB, free: 9.055 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.7444, allocations: 0 / 0.8769 GB, free: 9.055 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.7444, allocations: 4 kB / 0.8769 GB, free: 9.051 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002838/0.7447, allocations: 43.88 kB / 0.8769 GB, free: 9.008 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.7447, allocations: 4 kB / 0.8769 GB, free: 9.004 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002227/0.745, allocations: 31.97 kB / 0.8769 GB, free: 8.973 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.961e-05/0.745, allocations: 7.984 kB / 0.877 GB, free: 8.965 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 8.446e-06/0.745, allocations: 4 kB / 0.877 GB, free: 8.961 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001115/0.7451, allocations: 28 kB / 0.877 GB, free: 8.934 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-06/0.7451, allocations: 0 / 0.877 GB, free: 8.934 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-06/0.7451, allocations: 0 / 0.877 GB, free: 8.934 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.859e-05/0.7452, allocations: 23.98 kB / 0.877 GB, free: 8.91 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.396e-06/0.7453, allocations: 3.938 kB / 0.877 GB, free: 8.906 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.256e-05/0.7453, allocations: 31.84 kB / 0.877 GB, free: 8.875 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.057e-06/0.7453, allocations: 0 / 0.877 GB, free: 8.875 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 7.329e-05/0.7454, allocations: 105 kB / 0.8771 GB, free: 8.766 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.276e-05/0.7455, allocations: 7.906 kB / 0.8771 GB, free: 8.758 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.032e-05/0.7455, allocations: 16.09 kB / 0.8772 GB, free: 8.742 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.7455, allocations: 3.984 kB / 0.8772 GB, free: 8.738 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.7455, allocations: 0 / 0.8772 GB, free: 8.738 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.7455, allocations: 7.891 kB / 0.8772 GB, free: 8.73 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004594/0.746, allocations: 400.1 kB / 0.8776 GB, free: 8.277 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.746, allocations: 0 / 0.8776 GB, free: 8.277 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002521/0.7463, allocations: 43.95 kB / 0.8776 GB, free: 8.234 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.7463, allocations: 0 / 0.8776 GB, free: 8.234 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.7463, allocations: 11.98 kB / 0.8776 GB, free: 8.223 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.379e-06/0.7463, allocations: 3.953 kB / 0.8776 GB, free: 8.219 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.7463, allocations: 3.938 kB / 0.8776 GB, free: 8.215 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002313/0.7466, allocations: 224.6 kB / 0.8778 GB, free: 7.961 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.247e-05/0.7467, allocations: 96.95 kB / 0.8779 GB, free: 7.848 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.7467, allocations: 0 / 0.8779 GB, free: 7.848 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000253/0.7469, allocations: 31.97 kB / 0.878 GB, free: 7.816 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.747, allocations: 11.98 kB / 0.878 GB, free: 7.805 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.747, allocations: 3.984 kB / 0.878 GB, free: 7.801 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 7.134e-05/0.7471, allocations: 114.1 kB / 0.8781 GB, free: 7.691 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7471, allocations: 0 / 0.8781 GB, free: 7.691 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002785/0.7474, allocations: 28 kB / 0.8781 GB, free: 7.664 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.0001326/0.7475, allocations: 119.1 kB / 0.8782 GB, free: 7.539 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002085/0.7477, allocations: 87.05 kB / 0.8783 GB, free: 7.457 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7477, allocations: 0 / 0.8783 GB, free: 7.457 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 7.074e-05/0.7478, allocations: 31.98 kB / 0.8783 GB, free: 7.426 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001792/0.748, allocations: 15.89 kB / 0.8783 GB, free: 7.41 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006219/0.7486, allocations: 182.8 kB / 0.8785 GB, free: 7.203 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/0.7489, allocations: 0.7048 MB / 0.8792 GB, free: 6.473 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001064/0.749, allocations: 15.98 kB / 0.8792 GB, free: 6.457 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.718e-05/0.7491, allocations: 15.42 kB / 0.8792 GB, free: 6.441 MB / 0.5417 GB Notification: Performance of SimCode: time 2.21e-07/0.7491, allocations: 0 / 0.8792 GB, free: 6.441 MB / 0.5417 GB Notification: Performance of Templates: time 0.003376/0.7525, allocations: 1.406 MB / 0.8806 GB, free: 5.039 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)