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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 115.4 kB / 16.37 MB, free: 5.539 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.0009315/0.0009315, allocations: 187.5 kB / 17.3 MB, free: 5.184 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.242/1.242, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002011/0.002011, allocations: 286.8 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8891/0.8891, allocations: 169.3 MB / 0.4989 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001744/0.001744, allocations: 93.86 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1458, allocations: 86.97 MB / 0.6816 GB, free: 7.438 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003376/0.1492, allocations: 2.296 MB / 0.6838 GB, free: 5.125 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005169/0.1544, allocations: 3.785 MB / 0.6875 GB, free: 1.324 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.1545, allocations: 11.94 kB / 0.6876 GB, free: 1.312 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2581/0.4127, allocations: 2.996 MB / 0.6905 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009577/0.4136, allocations: 395.5 kB / 0.6909 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.4148, allocations: 0.5036 MB / 0.6914 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004755/0.4196, allocations: 3.101 MB / 0.6944 GB, free: 13.08 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.4197, allocations: 38.19 kB / 0.6944 GB, free: 13.08 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003626/0.4201, allocations: 204.1 kB / 0.6946 GB, free: 13.06 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003585/0.4205, allocations: 207.7 kB / 0.6948 GB, free: 13.03 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.873e-05/0.4205, allocations: 18.53 kB / 0.6948 GB, free: 13.03 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001217/0.4218, allocations: 0.7502 MB / 0.6956 GB, free: 13.02 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002602/0.422, allocations: 212.1 kB / 0.6958 GB, free: 12.97 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003076/0.4223, allocations: 243.4 kB / 0.696 GB, free: 12.83 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002018/0.4244, allocations: 1.018 MB / 0.697 GB, free: 12.53 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.4244, allocations: 1.172 kB / 0.697 GB, free: 12.53 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.4244, allocations: 0 / 0.697 GB, free: 12.53 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.245e-05/0.4244, allocations: 0 / 0.697 GB, free: 12.53 MB / 494.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.001813/0.4262, allocations: 0.887 MB / 0.6979 GB, free: 11.84 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.4263, allocations: 9.094 kB / 0.6979 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00131/0.4276, allocations: 207.4 kB / 0.6981 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002043/0.4297, allocations: 0.962 MB / 0.699 GB, free: 11.33 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.4297, allocations: 9.5 kB / 0.699 GB, free: 11.33 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.611e-05/0.4297, allocations: 13.62 kB / 0.699 GB, free: 11.32 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005491/0.4303, allocations: 257.1 kB / 0.6993 GB, free: 11.24 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.4303, allocations: 0 / 0.6993 GB, free: 11.24 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.175e-05/0.4303, allocations: 4.625 kB / 0.6993 GB, free: 11.23 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.4304, allocations: 2.891 kB / 0.6993 GB, free: 11.23 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006182/0.431, allocations: 238.6 kB / 0.6995 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001436/0.4324, allocations: 0.8261 MB / 0.7003 GB, free: 10.71 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006652/0.4331, allocations: 300 kB / 0.7006 GB, free: 10.62 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003147/0.4334, allocations: 122.1 kB / 0.7007 GB, free: 10.59 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.279e-05/0.4335, allocations: 2.219 kB / 0.7007 GB, free: 10.59 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.692e-05/0.4335, allocations: 40.94 kB / 0.7008 GB, free: 10.55 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.4335, allocations: 3 kB / 0.7008 GB, free: 10.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.001176/0.4347, allocations: 447.7 kB / 0.7012 GB, free: 10.4 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.144e-05/0.4347, allocations: 52.31 kB / 0.7012 GB, free: 10.34 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000913/0.4356, allocations: 0.7342 MB / 0.7019 GB, free: 10.02 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.066e-05/0.4357, allocations: 27.61 kB / 0.702 GB, free: 9.984 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.4358, allocations: 234.2 kB / 0.7022 GB, free: 9.797 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.163e-05/0.4359, allocations: 42.27 kB / 0.7022 GB, free: 9.766 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002391/0.4361, allocations: 157.4 kB / 0.7024 GB, free: 9.703 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.4363, allocations: 369.2 kB / 0.7027 GB, free: 9.367 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007004/0.437, allocations: 438.2 kB / 0.7032 GB, free: 9.227 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007713/0.4377, allocations: 0.5302 MB / 0.7037 GB, free: 8.988 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001294/0.439, allocations: 0.8682 MB / 0.7045 GB, free: 8.645 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.4391, allocations: 0 / 0.7045 GB, free: 8.645 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001648/0.4407, allocations: 1.07 MB / 0.7056 GB, free: 8.262 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.4407, allocations: 12.88 kB / 0.7056 GB, free: 8.254 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.4408, allocations: 1.812 kB / 0.7056 GB, free: 8.254 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.4408, allocations: 4.516 kB / 0.7056 GB, free: 8.254 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004855/0.4413, allocations: 109 kB / 0.7057 GB, free: 8.246 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.4413, allocations: 8.969 kB / 0.7057 GB, free: 8.242 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004506/0.4417, allocations: 71.48 kB / 0.7058 GB, free: 8.203 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.469e-05/0.4418, allocations: 32.77 kB / 0.7058 GB, free: 8.199 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007452/0.4426, allocations: 0.5446 MB / 0.7063 GB, free: 7.953 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005651/0.4432, allocations: 463.3 kB / 0.7068 GB, free: 7.738 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001012/0.4442, allocations: 0.7279 MB / 0.7075 GB, free: 7.438 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.144e-06/0.4442, allocations: 0 / 0.7075 GB, free: 7.438 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.00133/0.4455, allocations: 0.9128 MB / 0.7084 GB, free: 7.105 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.786e-06/0.4455, allocations: 9.594 kB / 0.7084 GB, free: 7.102 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-06/0.4456, allocations: 5.922 kB / 0.7084 GB, free: 7.098 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.881e-06/0.4456, allocations: 3.719 kB / 0.7084 GB, free: 7.098 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000411/0.446, allocations: 106 kB / 0.7085 GB, free: 7.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.446, allocations: 4.125 kB / 0.7085 GB, free: 7.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004029/0.4464, allocations: 52.61 kB / 0.7085 GB, free: 7.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.493e-05/0.4465, allocations: 26.88 kB / 0.7086 GB, free: 7.066 MB / 494.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.0001081/0.4466, allocations: 202.3 kB / 0.7088 GB, free: 6.867 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.926e-05/0.4466, allocations: 56.41 kB / 0.7088 GB, free: 6.832 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008358/0.4475, allocations: 361 kB / 0.7092 GB, free: 6.699 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.4475, allocations: 2.047 kB / 0.7092 GB, free: 6.699 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.4475, allocations: 0 / 0.7092 GB, free: 6.699 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.4475, allocations: 0.7969 kB / 0.7092 GB, free: 6.699 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004315/0.448, allocations: 396.9 kB / 0.7095 GB, free: 6.438 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.448, allocations: 1.031 kB / 0.7095 GB, free: 6.438 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000245/0.4482, allocations: 44.34 kB / 0.7096 GB, free: 6.434 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.4482, allocations: 9.062 kB / 0.7096 GB, free: 6.426 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.4483, allocations: 7.562 kB / 0.7096 GB, free: 6.422 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.4483, allocations: 1.406 kB / 0.7096 GB, free: 6.422 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.4483, allocations: 0.75 kB / 0.7096 GB, free: 6.422 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006989/0.449, allocations: 421.3 kB / 0.71 GB, free: 6.199 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001549/0.4491, allocations: 153.2 kB / 0.7102 GB, free: 6.059 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.246e-05/0.4492, allocations: 1.609 kB / 0.7102 GB, free: 6.059 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002775/0.4495, allocations: 26.08 kB / 0.7102 GB, free: 6.051 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/0.4495, allocations: 13.86 kB / 0.7102 GB, free: 6.047 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.359e-05/0.4496, allocations: 10.22 kB / 0.7102 GB, free: 6.047 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005047/0.4501, allocations: 0.4944 MB / 0.7107 GB, free: 5.832 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4501, allocations: 3.938 kB / 0.7107 GB, free: 5.828 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001027/0.4511, allocations: 308.1 kB / 0.711 GB, free: 5.789 MB / 494.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.0006975/0.4518, allocations: 366.1 kB / 0.7113 GB, free: 5.66 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001747/0.4536, allocations: 1.134 MB / 0.7124 GB, free: 5.277 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4536, allocations: 1.938 kB / 0.7124 GB, free: 5.277 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000311/0.4539, allocations: 137.9 kB / 0.7126 GB, free: 5.242 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007786/0.4547, allocations: 201.3 kB / 0.7128 GB, free: 5.188 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/0.456, allocations: 0.9432 MB / 0.7137 GB, free: 4.711 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/0.4564, allocations: 0.8946 MB / 0.7146 GB, free: 3.977 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005249/0.4569, allocations: 198 kB / 0.7148 GB, free: 3.922 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001559/0.4571, allocations: 58.88 kB / 0.7148 GB, free: 3.902 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4571, allocations: 1.156 kB / 0.7148 GB, free: 3.902 MB / 494.1 MB Notification: Performance of Templates: time 0.01915/0.4763, allocations: 12.29 MB / 0.7268 GB, free: 14.71 MB / 0.4981 GB 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)