Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") translateModel(IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 102.3 kB / 16.27 MB, free: 5.992 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.001704/0.001704, allocations: 183.4 kB / 17.19 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7788/0.7788, allocations: 122.9 MB / 413.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 59.91 kB / 0.4911 GB, free: 7.418 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.469/0.4711, allocations: 77.93 MB / 0.5672 GB, free: 32.74 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.00307/0.4742, allocations: 2.293 MB / 0.5694 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004878/0.4791, allocations: 3.774 MB / 0.5731 GB, free: 28.62 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001937/0.4793, allocations: 8.75 kB / 0.5731 GB, free: 28.62 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005543/0.4849, allocations: 3.002 MB / 0.5761 GB, free: 27.81 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009747/0.4859, allocations: 404.7 kB / 0.5764 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.487, allocations: 0.5076 MB / 0.5769 GB, free: 27.39 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004249/0.4913, allocations: 3.095 MB / 0.58 GB, free: 26.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001659/0.4914, allocations: 47.69 kB / 0.58 GB, free: 26.12 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003341/0.4918, allocations: 196.2 kB / 0.5802 GB, free: 26.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002718/0.4921, allocations: 217.8 kB / 0.5804 GB, free: 25.89 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.873e-05/0.4921, allocations: 17.06 kB / 0.5804 GB, free: 25.89 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001462/0.4936, allocations: 0.7353 MB / 0.5811 GB, free: 25.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002025/0.4938, allocations: 216.8 kB / 0.5813 GB, free: 25.36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002191/0.494, allocations: 238.9 kB / 0.5816 GB, free: 25.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001475/0.4955, allocations: 1.012 MB / 0.5826 GB, free: 24.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.4955, allocations: 0 / 0.5826 GB, free: 24.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4956, allocations: 0 / 0.5826 GB, free: 24.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.494e-05/0.4956, allocations: 1.656 kB / 0.5826 GB, free: 24.54 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.001315/0.4969, allocations: 0.8788 MB / 0.5834 GB, free: 23.8 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.4969, allocations: 11.66 kB / 0.5834 GB, free: 23.8 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001298/0.4983, allocations: 207.2 kB / 0.5836 GB, free: 23.72 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001965/0.5002, allocations: 0.9621 MB / 0.5846 GB, free: 23.02 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.831e-05/0.5003, allocations: 12.31 kB / 0.5846 GB, free: 23.02 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.125e-05/0.5003, allocations: 15.77 kB / 0.5846 GB, free: 23.01 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005696/0.5009, allocations: 261.9 kB / 0.5848 GB, free: 22.88 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.5009, allocations: 0 / 0.5848 GB, free: 22.88 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.557e-05/0.501, allocations: 9.562 kB / 0.5849 GB, free: 22.87 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.501, allocations: 1.469 kB / 0.5849 GB, free: 22.87 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006889/0.5017, allocations: 238.2 kB / 0.5851 GB, free: 22.78 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/0.5029, allocations: 0.8305 MB / 0.5859 GB, free: 22.17 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000728/0.5036, allocations: 310.8 kB / 0.5862 GB, free: 22.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003378/0.504, allocations: 118.9 kB / 0.5863 GB, free: 21.97 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.894e-05/0.504, allocations: 6.547 kB / 0.5863 GB, free: 21.97 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.504, allocations: 39.91 kB / 0.5863 GB, free: 21.92 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.814e-06/0.5041, allocations: 0 / 0.5863 GB, free: 21.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.001257/0.5053, allocations: 443.1 kB / 0.5868 GB, free: 21.72 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/0.5054, allocations: 51.41 kB / 0.5868 GB, free: 21.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008061/0.5062, allocations: 0.7386 MB / 0.5875 GB, free: 21.22 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.184e-05/0.5062, allocations: 30.8 kB / 0.5876 GB, free: 21.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.5064, allocations: 234.2 kB / 0.5878 GB, free: 20.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.821e-05/0.5064, allocations: 34.42 kB / 0.5878 GB, free: 20.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000214/0.5066, allocations: 160.5 kB / 0.588 GB, free: 20.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.182e-05/0.5067, allocations: 375.3 kB / 0.5883 GB, free: 20.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006593/0.5074, allocations: 443.4 kB / 0.5888 GB, free: 20.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006909/0.5081, allocations: 0.5263 MB / 0.5893 GB, free: 19.99 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/0.5091, allocations: 0.8786 MB / 0.5901 GB, free: 19.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.716e-06/0.5092, allocations: 3.938 kB / 0.5901 GB, free: 19.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001406/0.5106, allocations: 1.072 MB / 0.5912 GB, free: 18.01 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.5106, allocations: 8 kB / 0.5912 GB, free: 18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.5106, allocations: 4.203 kB / 0.5912 GB, free: 18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.5106, allocations: 8 kB / 0.5912 GB, free: 17.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004526/0.5111, allocations: 111.8 kB / 0.5913 GB, free: 17.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.5111, allocations: 4 kB / 0.5913 GB, free: 17.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004679/0.5116, allocations: 75.34 kB / 0.5914 GB, free: 17.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.841e-05/0.5116, allocations: 35.98 kB / 0.5914 GB, free: 17.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000662/0.5123, allocations: 0.541 MB / 0.5919 GB, free: 17.23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000548/0.5129, allocations: 464.5 kB / 0.5924 GB, free: 16.74 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009679/0.5139, allocations: 0.7315 MB / 0.5931 GB, free: 15.99 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.194e-06/0.5139, allocations: 0 / 0.5931 GB, free: 15.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001208/0.5151, allocations: 0.922 MB / 0.594 GB, free: 15.06 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.5151, allocations: 6.188 kB / 0.594 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.5151, allocations: 8.219 kB / 0.594 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.328e-06/0.5151, allocations: 0 / 0.594 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003949/0.5155, allocations: 111.9 kB / 0.5941 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.5155, allocations: 7.938 kB / 0.5941 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004291/0.516, allocations: 59.66 kB / 0.5942 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.04e-05/0.516, allocations: 27.98 kB / 0.5942 GB, free: 14.84 MB / 446.1 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 (52): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0001292/0.5162, allocations: 196.1 kB / 0.5944 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.942e-05/0.5162, allocations: 47.34 kB / 0.5945 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009058/0.5171, allocations: 370.4 kB / 0.5948 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.5172, allocations: 0 / 0.5948 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.5172, allocations: 4 kB / 0.5948 GB, free: 14.22 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.5172, allocations: 0 / 0.5948 GB, free: 14.22 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003802/0.5176, allocations: 405.2 kB / 0.5952 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.5176, allocations: 0 / 0.5952 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002452/0.5178, allocations: 55.89 kB / 0.5952 GB, free: 13.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.5178, allocations: 4 kB / 0.5953 GB, free: 13.72 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.5179, allocations: 4 kB / 0.5953 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.5179, allocations: 0 / 0.5953 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.5179, allocations: 0 / 0.5953 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000702/0.5186, allocations: 429.4 kB / 0.5957 GB, free: 13.28 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.5187, allocations: 144.4 kB / 0.5958 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.413e-05/0.5188, allocations: 7.938 kB / 0.5958 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002779/0.5191, allocations: 23.97 kB / 0.5958 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.012e-05/0.5191, allocations: 11.98 kB / 0.5958 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/0.5192, allocations: 8 kB / 0.5959 GB, free: 13.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004108/0.5196, allocations: 0.4912 MB / 0.5963 GB, free: 12.58 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5196, allocations: 0 / 0.5963 GB, free: 12.58 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009128/0.5205, allocations: 319.8 kB / 0.5966 GB, free: 12.27 MB / 446.1 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 (11): * Single equations (assignments): 11 * 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.0006374/0.5211, allocations: 370.9 kB / 0.597 GB, free: 11.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001688/0.5228, allocations: 1.146 MB / 0.5981 GB, free: 10.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.5229, allocations: 0 / 0.5981 GB, free: 10.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003234/0.5232, allocations: 143.8 kB / 0.5982 GB, free: 10.61 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007765/0.524, allocations: 203 kB / 0.5984 GB, free: 10.42 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.5252, allocations: 0.9391 MB / 0.5994 GB, free: 9.453 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.5255, allocations: 0.9011 MB / 0.6002 GB, free: 8.523 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006092/0.5261, allocations: 176.2 kB / 0.6004 GB, free: 8.352 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/0.5262, allocations: 59.39 kB / 0.6005 GB, free: 8.293 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.5263, allocations: 0 / 0.6005 GB, free: 8.293 MB / 446.1 MB Notification: Performance of Templates: time 0.01664/0.5429, allocations: 12.3 MB / 0.6125 GB, free: 12.14 MB / 462.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & ./IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)