Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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) 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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.674/1.674, allocations: 292.3 MB / 308.1 MB, free: 4.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001543/0.001543, allocations: 189.9 kB / 376.9 MB, free: 1.816 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.53/1.53, allocations: 205 MB / 0.6354 GB, free: 9.777 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009276/0.0009275, allocations: 104.8 kB / 0.748 GB, free: 61.22 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001074/0.001075, allocations: 59.89 kB / 0.8704 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2452, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.004007/0.2492, allocations: 2.141 MB / 0.9843 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00347/0.2527, allocations: 2.053 MB / 0.9863 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000258/0.253, allocations: 7.938 kB / 0.9863 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0008325/0.2539, allocations: 239.4 kB / 0.9865 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0007833/0.2547, allocations: 267.2 kB / 0.9868 GB, free: 5.664 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001125/0.2558, allocations: 423.2 kB / 0.9872 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0008185/0.2567, allocations: 0.5806 MB / 0.9878 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.2568, allocations: 36.34 kB / 0.9878 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000287/0.2571, allocations: 159.4 kB / 0.988 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003075/0.2574, allocations: 171.4 kB / 0.9881 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.676e-05/0.2575, allocations: 8 kB / 0.9881 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007431/0.2582, allocations: 439.2 kB / 0.9885 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001251/0.2584, allocations: 87.7 kB / 0.9886 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.2585, allocations: 107.3 kB / 0.9887 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0008142/0.2593, allocations: 0.5688 MB / 0.9893 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2593, allocations: 0 / 0.9893 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2593, allocations: 0 / 0.9893 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.728e-06/0.2594, allocations: 0 / 0.9893 GB, free: 3.105 MB / 0.7136 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.001049/0.2604, allocations: 0.6033 MB / 0.9899 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.2605, allocations: 11.97 kB / 0.9899 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003092/0.2608, allocations: 52.53 kB / 0.9899 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004758/0.2613, allocations: 328.3 kB / 0.9903 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.2613, allocations: 8.375 kB / 0.9903 GB, free: 2.023 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.286e-05/0.2613, allocations: 12.38 kB / 0.9903 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003705/0.2617, allocations: 153.7 kB / 0.9904 GB, free: 1.855 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.2617, allocations: 4 kB / 0.9904 GB, free: 1.852 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/0.2617, allocations: 11.94 kB / 0.9904 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.2618, allocations: 0 / 0.9904 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003717/0.2621, allocations: 123.9 kB / 0.9906 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008155/0.263, allocations: 0.4886 MB / 0.991 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003365/0.2633, allocations: 130.5 kB / 0.9912 GB, free: 1.043 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/0.2635, allocations: 56.83 kB / 0.9912 GB, free: 0.9844 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.178e-05/0.2635, allocations: 11.98 kB / 0.9912 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.2636, allocations: 38.69 kB / 0.9913 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.233e-06/0.2636, allocations: 0 / 0.9913 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0006814/0.2643, allocations: 225.2 kB / 0.9915 GB, free: 0.6992 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.2643, allocations: 55.78 kB / 0.9915 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003459/0.2647, allocations: 344.4 kB / 0.9919 GB, free: 296 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.2647, allocations: 29.7 kB / 0.9919 GB, free: 260 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.2648, allocations: 152 kB / 0.992 GB, free: 104 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.552e-05/0.2648, allocations: 39.47 kB / 0.9921 GB, free: 64 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.249e-05/0.2649, allocations: 49.66 kB / 0.9921 GB, free: 8 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.2651, allocations: 342.8 kB / 0.9924 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002528/0.2653, allocations: 112.8 kB / 0.9925 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002797/0.2656, allocations: 161 kB / 0.9927 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005092/0.2661, allocations: 286.6 kB / 0.993 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.2661, allocations: 0 / 0.993 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006409/0.2668, allocations: 337.2 kB / 0.9933 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.2668, allocations: 4 kB / 0.9933 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.2668, allocations: 7.938 kB / 0.9933 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.2669, allocations: 4 kB / 0.9933 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002273/0.2671, allocations: 39.97 kB / 0.9933 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.2671, allocations: 11.88 kB / 0.9934 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/0.2673, allocations: 27.81 kB / 0.9934 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.464e-05/0.2673, allocations: 15.98 kB / 0.9934 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002914/0.2676, allocations: 212 kB / 0.9936 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002497/0.2679, allocations: 134.8 kB / 0.9937 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004309/0.2683, allocations: 242.6 kB / 0.994 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.274e-06/0.2684, allocations: 4 kB / 0.994 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0005352/0.2689, allocations: 293.2 kB / 0.9942 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.368e-06/0.2689, allocations: 8 kB / 0.9943 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-06/0.2689, allocations: 0 / 0.9943 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.126e-06/0.2689, allocations: 4 kB / 0.9943 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/0.2691, allocations: 39.97 kB / 0.9943 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.2691, allocations: 4 kB / 0.9943 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001532/0.2693, allocations: 31.7 kB / 0.9943 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.352e-05/0.2693, allocations: 11.98 kB / 0.9943 GB, free: 13.6 MB / 0.7292 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 (19): * Single equations (assignments): 18 * Array equations: 1 * 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 0.0001001/0.2694, allocations: 188.3 kB / 0.9945 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.517e-05/0.2695, allocations: 23.72 kB / 0.9945 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004955/0.27, allocations: 196.2 kB / 0.9947 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.27, allocations: 4 kB / 0.9947 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.27, allocations: 7.938 kB / 0.9947 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.27, allocations: 4.078 kB / 0.9947 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002773/0.2703, allocations: 277.3 kB / 0.995 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2703, allocations: 0 / 0.995 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.2704, allocations: 31.92 kB / 0.995 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.2705, allocations: 0 / 0.995 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.2705, allocations: 7.984 kB / 0.995 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.2705, allocations: 0 / 0.995 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.2705, allocations: 7.922 kB / 0.9951 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008772/0.2714, allocations: 0.9342 MB / 0.996 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.2715, allocations: 120.7 kB / 0.9961 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.285e-05/0.2715, allocations: 4 kB / 0.9961 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.2717, allocations: 4 kB / 0.9961 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.237e-05/0.2718, allocations: 7.984 kB / 0.9961 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.2718, allocations: 8 kB / 0.9961 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002289/0.272, allocations: 243 kB / 0.9963 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.41e-07/0.272, allocations: 7.938 kB / 0.9963 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000787/0.2728, allocations: 144 kB / 0.9965 GB, free: 11.27 MB / 0.7292 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 (10): * Single equations (assignments): 10 * 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.0004908/0.2733, allocations: 205.4 kB / 0.9967 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0007842/0.2741, allocations: 319.6 kB / 0.997 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2741, allocations: 4 kB / 0.997 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001856/0.2743, allocations: 72.77 kB / 0.9971 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000527/0.2749, allocations: 98.17 kB / 0.9971 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009804/0.2758, allocations: 0.6562 MB / 0.9978 GB, free: 9.883 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.2762, allocations: 0.768 MB / 0.9985 GB, free: 9.09 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002964/0.2765, allocations: 78.88 kB / 0.9986 GB, free: 9.008 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.082e-05/0.2766, allocations: 27.44 kB / 0.9986 GB, free: 8.98 MB / 0.7292 GB Notification: Performance of SimCode: time 3e-07/0.2766, allocations: 4 kB / 0.9986 GB, free: 8.977 MB / 0.7292 GB Notification: Performance of Templates: time 0.01265/0.2892, allocations: 6.412 MB / 1.005 GB, free: 2.625 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.makefile (rm -f Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & ./Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)