Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.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.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") translateModel(BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7665/0.7665, allocations: 143.4 MB / 159.2 MB, free: 4.91 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.001238/0.001238, allocations: 184.5 kB / 191.9 MB, free: 5.695 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.365/1.365, allocations: 222.9 MB / 447.3 MB, free: 5.848 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.00102/0.00102, allocations: 99.77 kB / 0.517 GB, free: 3.711 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001855/0.001855, allocations: 277.4 kB / 0.5973 GB, free: 49.35 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 79.89 kB / 0.6886 GB, free: 3.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3353, allocations: 81.28 MB / 0.7679 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.002693/0.338, allocations: 2.102 MB / 0.77 GB, free: 25.54 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.002367/0.3404, allocations: 2.04 MB / 0.772 GB, free: 23.5 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.3405, allocations: 4 kB / 0.772 GB, free: 23.49 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006948/0.3412, allocations: 261.8 kB / 0.7722 GB, free: 23.24 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000611/0.3419, allocations: 254.3 kB / 0.7725 GB, free: 22.99 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008534/0.3427, allocations: 419.3 kB / 0.7729 GB, free: 22.58 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006175/0.3434, allocations: 0.5806 MB / 0.7734 GB, free: 22 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.3435, allocations: 36.38 kB / 0.7735 GB, free: 21.96 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001915/0.3437, allocations: 155.4 kB / 0.7736 GB, free: 21.81 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002509/0.344, allocations: 175.4 kB / 0.7738 GB, free: 21.64 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.899e-05/0.344, allocations: 11.94 kB / 0.7738 GB, free: 21.63 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006244/0.3446, allocations: 435.2 kB / 0.7742 GB, free: 21.2 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 8.373e-05/0.3447, allocations: 83.77 kB / 0.7743 GB, free: 21.12 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 8.287e-05/0.3448, allocations: 115.3 kB / 0.7744 GB, free: 21.01 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005548/0.3454, allocations: 0.5687 MB / 0.775 GB, free: 20.44 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3454, allocations: 7.938 kB / 0.775 GB, free: 20.43 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3454, allocations: 0 / 0.775 GB, free: 20.43 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.3454, allocations: 0 / 0.775 GB, free: 20.43 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007908/0.3462, allocations: 0.5956 MB / 0.7755 GB, free: 19.79 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.3463, allocations: 8.031 kB / 0.7756 GB, free: 19.78 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002814/0.3465, allocations: 52.61 kB / 0.7756 GB, free: 19.73 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003862/0.3469, allocations: 324.4 kB / 0.7759 GB, free: 19.37 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.347, allocations: 16.27 kB / 0.7759 GB, free: 19.36 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.754e-05/0.347, allocations: 12.38 kB / 0.7759 GB, free: 19.34 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003147/0.3473, allocations: 155.4 kB / 0.7761 GB, free: 19.19 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.148e-06/0.3473, allocations: 0 / 0.7761 GB, free: 19.19 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.3474, allocations: 8 kB / 0.7761 GB, free: 19.18 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.3474, allocations: 4 kB / 0.7761 GB, free: 19.18 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003644/0.3477, allocations: 123.9 kB / 0.7762 GB, free: 19.05 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006405/0.3484, allocations: 496.2 kB / 0.7767 GB, free: 18.52 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003014/0.3487, allocations: 130.5 kB / 0.7768 GB, free: 18.38 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001591/0.3489, allocations: 64.81 kB / 0.7769 GB, free: 18.32 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.3489, allocations: 0 / 0.7769 GB, free: 18.32 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.3489, allocations: 38.56 kB / 0.7769 GB, free: 18.27 MB / 458.7 MB Notification: Performance of pre-optimization done (n=9): time 1.042e-06/0.3489, allocations: 0 / 0.7769 GB, free: 18.27 MB / 458.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006153/0.3496, allocations: 233.5 kB / 0.7771 GB, free: 18.04 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.995e-05/0.3496, allocations: 51.41 kB / 0.7772 GB, free: 17.97 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002449/0.3498, allocations: 348.4 kB / 0.7775 GB, free: 17.62 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.3499, allocations: 25.7 kB / 0.7775 GB, free: 17.59 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.045e-05/0.3499, allocations: 160 kB / 0.7777 GB, free: 17.43 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.35, allocations: 27.56 kB / 0.7777 GB, free: 17.41 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.082e-05/0.3501, allocations: 50.06 kB / 0.7778 GB, free: 17.35 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.309e-05/0.3501, allocations: 338.8 kB / 0.7781 GB, free: 17.01 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002163/0.3503, allocations: 116.8 kB / 0.7782 GB, free: 16.89 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002294/0.3506, allocations: 161.7 kB / 0.7784 GB, free: 16.71 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004275/0.351, allocations: 290.5 kB / 0.7786 GB, free: 16.41 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.351, allocations: 4 kB / 0.7786 GB, free: 16.4 MB / 458.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005488/0.3516, allocations: 334.5 kB / 0.779 GB, free: 16.07 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.3516, allocations: 4.219 kB / 0.779 GB, free: 16.07 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.3516, allocations: 8 kB / 0.779 GB, free: 16.06 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.3516, allocations: 0 / 0.779 GB, free: 16.06 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000236/0.3519, allocations: 47.97 kB / 0.779 GB, free: 16.01 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.3519, allocations: 3.938 kB / 0.779 GB, free: 16.01 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001593/0.3521, allocations: 23.83 kB / 0.779 GB, free: 15.98 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.962e-05/0.3521, allocations: 23.92 kB / 0.7791 GB, free: 15.96 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002512/0.3524, allocations: 208 kB / 0.7793 GB, free: 15.75 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002014/0.3526, allocations: 138.8 kB / 0.7794 GB, free: 15.59 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003762/0.353, allocations: 238.6 kB / 0.7796 GB, free: 15.34 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.462e-06/0.353, allocations: 0 / 0.7796 GB, free: 15.34 MB / 458.7 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0004857/0.3535, allocations: 288.5 kB / 0.7799 GB, free: 15.05 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.792e-06/0.3535, allocations: 8 kB / 0.7799 GB, free: 15.04 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.215e-06/0.3535, allocations: 4.219 kB / 0.7799 GB, free: 15.04 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.076e-06/0.3535, allocations: 4 kB / 0.7799 GB, free: 15.04 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/0.3537, allocations: 47.91 kB / 0.78 GB, free: 14.99 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.3537, allocations: 7.938 kB / 0.78 GB, free: 14.98 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.3538, allocations: 19.86 kB / 0.78 GB, free: 14.96 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/0.3539, allocations: 15.97 kB / 0.78 GB, free: 14.95 MB / 458.7 MB 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 9.151e-05/0.354, allocations: 192.2 kB / 0.7802 GB, free: 14.75 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.394e-05/0.354, allocations: 31.62 kB / 0.7802 GB, free: 14.72 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004628/0.3545, allocations: 196.2 kB / 0.7804 GB, free: 14.52 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.3545, allocations: 0 / 0.7804 GB, free: 14.52 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3545, allocations: 3.938 kB / 0.7804 GB, free: 14.52 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.3545, allocations: 8 kB / 0.7804 GB, free: 14.51 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002274/0.3547, allocations: 281.4 kB / 0.7807 GB, free: 14.18 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.3548, allocations: 0 / 0.7807 GB, free: 14.18 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001341/0.3549, allocations: 23.98 kB / 0.7807 GB, free: 14.16 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.3549, allocations: 0 / 0.7807 GB, free: 14.16 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.3549, allocations: 4 kB / 0.7807 GB, free: 14.16 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3549, allocations: 0 / 0.7807 GB, free: 14.16 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.3549, allocations: 3.938 kB / 0.7807 GB, free: 14.15 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007144/0.3557, allocations: 0.9342 MB / 0.7816 GB, free: 13.16 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.4e-05/0.3558, allocations: 120.7 kB / 0.7817 GB, free: 13.02 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.983e-05/0.3558, allocations: 0 / 0.7817 GB, free: 13.02 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.356, allocations: 15.98 kB / 0.7818 GB, free: 13.01 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.904e-05/0.356, allocations: 15.97 kB / 0.7818 GB, free: 12.99 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.356, allocations: 4 kB / 0.7818 GB, free: 12.99 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001786/0.3562, allocations: 239 kB / 0.782 GB, free: 12.75 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3562, allocations: 0 / 0.782 GB, free: 12.75 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0007434/0.357, allocations: 147.9 kB / 0.7821 GB, free: 12.61 MB / 458.7 MB 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.0003716/0.3573, allocations: 203.6 kB / 0.7823 GB, free: 12.4 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000687/0.358, allocations: 327.8 kB / 0.7827 GB, free: 12.08 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3581, allocations: 0 / 0.7827 GB, free: 12.08 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001729/0.3582, allocations: 71.89 kB / 0.7827 GB, free: 12.01 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004994/0.3587, allocations: 91.62 kB / 0.7828 GB, free: 11.92 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007462/0.3595, allocations: 0.6525 MB / 0.7834 GB, free: 11.23 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001758/0.3597, allocations: 0.7719 MB / 0.7842 GB, free: 10.43 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003113/0.36, allocations: 86.98 kB / 0.7843 GB, free: 10.34 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.846e-05/0.3601, allocations: 27.44 kB / 0.7843 GB, free: 10.32 MB / 458.7 MB Notification: Performance of SimCode: time 4.21e-07/0.3601, allocations: 3.938 kB / 0.7843 GB, free: 10.32 MB / 458.7 MB Notification: Performance of Templates: time 0.008773/0.3689, allocations: 6.421 MB / 0.7906 GB, free: 3.977 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)