Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.conf.json 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/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) Running command: translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface") translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 101.6 kB / 16.27 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001194/0.001195, allocations: 189.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.405/1.405, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.77/1.77, allocations: 292.3 MB / 0.5495 GB, free: 17.59 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001408, allocations: 67.91 kB / 0.6722 GB, free: 6.516 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2629/0.2644, allocations: 114.5 MB / 0.784 GB, free: 3.848 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.003236/0.2676, allocations: 1.608 MB / 0.7856 GB, free: 2.223 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0006797/0.2684, allocations: 310.8 kB / 0.7859 GB, free: 1.918 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.14e-05/0.2684, allocations: 4 kB / 0.7859 GB, free: 1.914 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.084e-05/0.2685, allocations: 7.875 kB / 0.7859 GB, free: 1.906 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.586e-05/0.2686, allocations: 23.78 kB / 0.7859 GB, free: 1.883 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003627/0.269, allocations: 67.86 kB / 0.786 GB, free: 1.816 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.2691, allocations: 99.66 kB / 0.7861 GB, free: 1.719 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.2693, allocations: 35.95 kB / 0.7861 GB, free: 1.684 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.828e-05/0.2694, allocations: 39.91 kB / 0.7862 GB, free: 1.645 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.377e-05/0.2695, allocations: 43.78 kB / 0.7862 GB, free: 1.602 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.2695, allocations: 8 kB / 0.7862 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.944e-05/0.2696, allocations: 23.98 kB / 0.7862 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.791e-05/0.2696, allocations: 27.91 kB / 0.7863 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.224e-05/0.2697, allocations: 39.8 kB / 0.7863 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001626/0.2698, allocations: 103.9 kB / 0.7864 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2698, allocations: 0 / 0.7864 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.166e-06/0.2699, allocations: 0 / 0.7864 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.548e-06/0.2699, allocations: 3.938 kB / 0.7864 GB, free: 1.398 MB / 0.6544 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.0006013/0.2705, allocations: 403.1 kB / 0.7868 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.2705, allocations: 8.031 kB / 0.7868 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009744/0.2715, allocations: 116.7 kB / 0.7869 GB, free: 0.832 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.2717, allocations: 188.2 kB / 0.7871 GB, free: 0.6094 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.2717, allocations: 8.312 kB / 0.7871 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.294e-05/0.2717, allocations: 8.375 kB / 0.7871 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005389/0.2723, allocations: 150.1 kB / 0.7872 GB, free: 452 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.2723, allocations: 4.125 kB / 0.7872 GB, free: 448 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.2723, allocations: 3.938 kB / 0.7872 GB, free: 444 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.2723, allocations: 0 / 0.7872 GB, free: 444 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007219/0.273, allocations: 155.8 kB / 0.7874 GB, free: 288 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4666/0.7396, allocations: 448.3 kB / 0.7878 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007532/0.7405, allocations: 138.6 kB / 0.788 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003389/0.7408, allocations: 72.98 kB / 0.788 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.113e-05/0.7409, allocations: 2.719 kB / 0.788 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/0.7409, allocations: 36.75 kB / 0.7881 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=5): time 3.216e-06/0.7409, allocations: 0 / 0.7881 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5): time 0.001179/0.7421, allocations: 244 kB / 0.7883 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.7421, allocations: 54.72 kB / 0.7883 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.7423, allocations: 155.6 kB / 0.7885 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.7423, allocations: 25.7 kB / 0.7885 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.975e-05/0.7423, allocations: 106.8 kB / 0.7886 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.812e-05/0.7424, allocations: 12.3 kB / 0.7886 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.285e-05/0.7424, allocations: 29.95 kB / 0.7887 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.126e-05/0.7425, allocations: 323.4 kB / 0.789 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003556/0.7429, allocations: 81.28 kB / 0.789 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003257/0.7432, allocations: 68.77 kB / 0.7891 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006523/0.7438, allocations: 142 kB / 0.7893 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.7439, allocations: 0 / 0.7893 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007377/0.7446, allocations: 187.2 kB / 0.7894 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.7446, allocations: 5.25 kB / 0.7894 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.7446, allocations: 1.188 kB / 0.7894 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.7447, allocations: 0 / 0.7894 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002519/0.7449, allocations: 44.97 kB / 0.7895 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/0.7449, allocations: 4.188 kB / 0.7895 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002048/0.7452, allocations: 25.17 kB / 0.7895 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.7452, allocations: 5.25 kB / 0.7895 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001221/0.7453, allocations: 109.1 kB / 0.7896 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.141e-05/0.7454, allocations: 55.69 kB / 0.7897 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001718/0.7456, allocations: 87.7 kB / 0.7898 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.52e-07/0.7456, allocations: 0 / 0.7898 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0002341/0.7458, allocations: 107 kB / 0.7899 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.7459, allocations: 19.52 kB / 0.7899 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-06/0.7459, allocations: 0 / 0.7899 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.065e-06/0.7459, allocations: 2.844 kB / 0.7899 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.6e-05/0.746, allocations: 21.53 kB / 0.7899 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.683e-06/0.746, allocations: 0.6562 kB / 0.7899 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.509e-05/0.746, allocations: 11.39 kB / 0.7899 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.746, allocations: 5.266 kB / 0.7899 GB, free: 47.57 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.403e-05/0.7461, allocations: 185 kB / 0.7901 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.539e-05/0.7462, allocations: 12.03 kB / 0.7901 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.788e-05/0.7462, allocations: 15.84 kB / 0.7901 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.7462, allocations: 0 / 0.7901 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.7462, allocations: 2.016 kB / 0.7901 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.7463, allocations: 0 / 0.7901 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009987/0.7473, allocations: 477.7 kB / 0.7906 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.7473, allocations: 2.094 kB / 0.7906 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002224/0.7475, allocations: 35.77 kB / 0.7906 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.7475, allocations: 3.062 kB / 0.7906 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.7475, allocations: 7.125 kB / 0.7906 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.7475, allocations: 0 / 0.7906 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.7476, allocations: 1.5 kB / 0.7906 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008483/0.7484, allocations: 295 kB / 0.7909 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.291e-05/0.7485, allocations: 103.8 kB / 0.791 GB, free: 46.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.3e-05/0.7485, allocations: 3.438 kB / 0.791 GB, free: 46.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000229/0.7488, allocations: 23.69 kB / 0.791 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.824e-05/0.7488, allocations: 6.047 kB / 0.791 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.7489, allocations: 2.625 kB / 0.791 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.993e-05/0.7489, allocations: 123.9 kB / 0.7912 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.749, allocations: 0 / 0.7912 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000319/0.7493, allocations: 31.62 kB / 0.7912 GB, free: 46.73 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001296/0.7494, allocations: 104 kB / 0.7913 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009047/0.7503, allocations: 182.5 kB / 0.7915 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.7503, allocations: 5.906 kB / 0.7915 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003659/0.7507, allocations: 75.23 kB / 0.7915 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004472/0.7512, allocations: 10.22 kB / 0.7915 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.7523, allocations: 305 kB / 0.7918 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001796/0.7525, allocations: 0.6984 MB / 0.7925 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.957e-05/0.7526, allocations: 20.19 kB / 0.7925 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of SimCode: time 4.41e-07/0.7526, allocations: 0 / 0.7925 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of Templates: time 0.003133/0.7557, allocations: 1.363 MB / 0.7939 GB, free: 45.7 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile (rm -f Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & ./Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)