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.8379/0.8379, allocations: 143.4 MB / 159.2 MB, free: 4.93 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.001472/0.001471, allocations: 186.8 kB / 191.9 MB, free: 5.723 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.415/1.415, allocations: 222.9 MB / 447.3 MB, free: 5.867 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.001075/0.001075, allocations: 107 kB / 0.517 GB, free: 3.707 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001909/0.001909, allocations: 282.9 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001402, allocations: 79.88 kB / 0.6885 GB, free: 3.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3166, allocations: 81.3 MB / 0.7679 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002578/0.3192, allocations: 1.671 MB / 0.7696 GB, free: 25.98 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005639/0.3198, allocations: 303.2 kB / 0.7699 GB, free: 25.68 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.861e-05/0.3199, allocations: 0 / 0.7699 GB, free: 25.68 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.858e-05/0.3199, allocations: 7.922 kB / 0.7699 GB, free: 25.68 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 8.528e-05/0.3201, allocations: 15.84 kB / 0.7699 GB, free: 25.66 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002553/0.3203, allocations: 59.95 kB / 0.7699 GB, free: 25.6 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.3204, allocations: 103.6 kB / 0.77 GB, free: 25.5 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.3206, allocations: 30.66 kB / 0.7701 GB, free: 25.47 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.247e-05/0.3206, allocations: 31.86 kB / 0.7701 GB, free: 25.44 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.845e-05/0.3207, allocations: 51.77 kB / 0.7701 GB, free: 25.39 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.3207, allocations: 8 kB / 0.7701 GB, free: 25.38 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.638e-05/0.3208, allocations: 27.97 kB / 0.7702 GB, free: 25.36 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.805e-05/0.3208, allocations: 7.938 kB / 0.7702 GB, free: 25.35 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 4.207e-05/0.3209, allocations: 39.8 kB / 0.7702 GB, free: 25.31 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.321, allocations: 103.6 kB / 0.7703 GB, free: 25.21 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.321, allocations: 0 / 0.7703 GB, free: 25.21 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.321, allocations: 0 / 0.7703 GB, free: 25.21 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.3211, allocations: 0 / 0.7703 GB, free: 25.21 MB / 458.7 MB 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.0004709/0.3215, allocations: 399.2 kB / 0.7707 GB, free: 24.77 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.3216, allocations: 16.03 kB / 0.7707 GB, free: 24.75 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009073/0.3225, allocations: 120.6 kB / 0.7708 GB, free: 24.63 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.091e-05/0.3226, allocations: 176.2 kB / 0.771 GB, free: 24.42 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.3226, allocations: 4.375 kB / 0.771 GB, free: 24.42 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.3226, allocations: 12.31 kB / 0.771 GB, free: 24.41 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004838/0.3231, allocations: 151.5 kB / 0.7712 GB, free: 24.25 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.3231, allocations: 4.188 kB / 0.7712 GB, free: 24.25 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.3232, allocations: 3.938 kB / 0.7712 GB, free: 24.25 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.3232, allocations: 0 / 0.7712 GB, free: 24.25 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006955/0.3239, allocations: 159.8 kB / 0.7713 GB, free: 24.09 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008547/0.3247, allocations: 436.5 kB / 0.7717 GB, free: 23.61 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006583/0.3254, allocations: 142.4 kB / 0.7719 GB, free: 23.46 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003438/0.3258, allocations: 76.92 kB / 0.7719 GB, free: 23.39 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.3258, allocations: 11.97 kB / 0.772 GB, free: 23.38 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.677e-05/0.3258, allocations: 34.56 kB / 0.772 GB, free: 23.33 MB / 458.7 MB Notification: Performance of pre-optimization done (n=5): time 1.173e-06/0.3258, allocations: 0 / 0.772 GB, free: 23.33 MB / 458.7 MB Notification: Performance of matching and sorting (n=5): time 0.001132/0.327, allocations: 249.3 kB / 0.7722 GB, free: 23.08 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.171e-05/0.327, allocations: 55.34 kB / 0.7723 GB, free: 23.02 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.3271, allocations: 157.7 kB / 0.7724 GB, free: 22.86 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.3271, allocations: 29.7 kB / 0.7725 GB, free: 22.82 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.799e-05/0.3272, allocations: 107.9 kB / 0.7726 GB, free: 22.71 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.436e-05/0.3272, allocations: 15.75 kB / 0.7726 GB, free: 22.7 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.073e-05/0.3272, allocations: 25.7 kB / 0.7726 GB, free: 22.66 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.072e-05/0.3273, allocations: 318.8 kB / 0.7729 GB, free: 22.34 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003566/0.3276, allocations: 76.78 kB / 0.773 GB, free: 22.27 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003618/0.328, allocations: 71.92 kB / 0.773 GB, free: 22.2 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006539/0.3287, allocations: 136.7 kB / 0.7732 GB, free: 22.06 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3287, allocations: 4 kB / 0.7732 GB, free: 22.05 MB / 458.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007376/0.3294, allocations: 177.4 kB / 0.7733 GB, free: 21.88 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.3295, allocations: 8 kB / 0.7734 GB, free: 21.87 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.3295, allocations: 0 / 0.7734 GB, free: 21.87 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.3295, allocations: 4 kB / 0.7734 GB, free: 21.86 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002451/0.3297, allocations: 43.88 kB / 0.7734 GB, free: 21.82 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.3298, allocations: 0 / 0.7734 GB, free: 21.82 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002008/0.33, allocations: 35.81 kB / 0.7734 GB, free: 21.79 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.33, allocations: 0 / 0.7734 GB, free: 21.79 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001128/0.3301, allocations: 112.1 kB / 0.7735 GB, free: 21.67 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.085e-05/0.3302, allocations: 56.27 kB / 0.7736 GB, free: 21.6 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001605/0.3304, allocations: 84.2 kB / 0.7737 GB, free: 21.5 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.022e-06/0.3304, allocations: 0 / 0.7737 GB, free: 21.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0002175/0.3306, allocations: 113.5 kB / 0.7738 GB, free: 21.39 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.164e-06/0.3306, allocations: 7.984 kB / 0.7738 GB, free: 21.38 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-06/0.3306, allocations: 0 / 0.7738 GB, free: 21.38 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.066e-06/0.3306, allocations: 4 kB / 0.7738 GB, free: 21.38 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.446e-05/0.3307, allocations: 15.98 kB / 0.7738 GB, free: 21.36 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.3307, allocations: 7.875 kB / 0.7738 GB, free: 21.35 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.517e-05/0.3308, allocations: 11.94 kB / 0.7738 GB, free: 21.34 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.3308, allocations: 0 / 0.7738 GB, free: 21.34 MB / 458.7 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.696e-05/0.3309, allocations: 190.3 kB / 0.774 GB, free: 21.15 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.363e-05/0.3309, allocations: 11.89 kB / 0.774 GB, free: 21.14 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.452e-05/0.331, allocations: 12.31 kB / 0.774 GB, free: 21.12 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.331, allocations: 3.938 kB / 0.774 GB, free: 21.12 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.331, allocations: 0 / 0.774 GB, free: 21.12 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.331, allocations: 0 / 0.774 GB, free: 21.12 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009272/0.3319, allocations: 483.9 kB / 0.7745 GB, free: 20.58 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-06/0.3319, allocations: 7.875 kB / 0.7745 GB, free: 20.57 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002219/0.3321, allocations: 40.02 kB / 0.7745 GB, free: 20.54 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.3322, allocations: 256 / 0.7745 GB, free: 20.54 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.3322, allocations: 3.984 kB / 0.7746 GB, free: 20.53 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.3322, allocations: 11.94 kB / 0.7746 GB, free: 20.52 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3322, allocations: 0 / 0.7746 GB, free: 20.52 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/0.3334, allocations: 0.9128 MB / 0.7755 GB, free: 19.54 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.578e-05/0.3334, allocations: 96.98 kB / 0.7755 GB, free: 19.43 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.3335, allocations: 0 / 0.7755 GB, free: 19.43 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002251/0.3337, allocations: 23.97 kB / 0.7756 GB, free: 19.41 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.518e-05/0.3337, allocations: 11.98 kB / 0.7756 GB, free: 19.39 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.3338, allocations: 7.938 kB / 0.7756 GB, free: 19.39 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.884e-05/0.3338, allocations: 115.2 kB / 0.7757 GB, free: 19.27 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3338, allocations: 0 / 0.7757 GB, free: 19.27 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0005074/0.3343, allocations: 35.94 kB / 0.7757 GB, free: 19.24 MB / 458.7 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.548e-05/0.3344, allocations: 95.25 kB / 0.7758 GB, free: 19.14 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0008331/0.3353, allocations: 191.7 kB / 0.776 GB, free: 18.95 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.3353, allocations: 0 / 0.776 GB, free: 18.95 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000351/0.3356, allocations: 76.36 kB / 0.7761 GB, free: 18.88 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/0.336, allocations: 12.25 kB / 0.7761 GB, free: 18.87 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000937/0.3369, allocations: 417.8 kB / 0.7765 GB, free: 18.41 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001046/0.337, allocations: 0.6965 MB / 0.7772 GB, free: 17.69 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 9.022e-05/0.3371, allocations: 15.98 kB / 0.7772 GB, free: 17.68 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.874e-05/0.3372, allocations: 23.41 kB / 0.7772 GB, free: 17.65 MB / 458.7 MB Notification: Performance of SimCode: time 3.11e-07/0.3372, allocations: 0 / 0.7772 GB, free: 17.65 MB / 458.7 MB Notification: Performance of Templates: time 0.003167/0.3404, allocations: 1.376 MB / 0.7786 GB, free: 16.29 MB / 458.7 MB 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)