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.001178/0.001178, allocations: 105.2 kB / 16.27 MB, free: 5.98 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.00107/0.00107, allocations: 189.8 kB / 17.2 MB, free: 5.605 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.322/1.322, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00238/0.00238, allocations: 288 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.959/0.959, allocations: 169.2 MB / 0.4988 GB, free: 4.516 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 94.31 kB / 0.5959 GB, free: 15.15 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1787, allocations: 86.98 MB / 0.6808 GB, free: 8.176 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.004137/0.1829, allocations: 2.286 MB / 0.6831 GB, free: 5.867 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006549/0.1895, allocations: 3.781 MB / 0.6868 GB, free: 2.074 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003506/0.1899, allocations: 7.938 kB / 0.6868 GB, free: 2.066 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3055/0.4954, allocations: 2.994 MB / 0.6897 GB, free: 13.25 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009202/0.4963, allocations: 398.5 kB / 0.6901 GB, free: 13.25 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001134/0.4975, allocations: 0.5064 MB / 0.6906 GB, free: 13.25 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00478/0.5023, allocations: 3.093 MB / 0.6936 GB, free: 13.25 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001619/0.5025, allocations: 52.48 kB / 0.6936 GB, free: 13.24 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003375/0.5028, allocations: 205.9 kB / 0.6938 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002922/0.5031, allocations: 205 kB / 0.694 GB, free: 13.2 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.766e-05/0.5032, allocations: 17.69 kB / 0.6941 GB, free: 13.2 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001269/0.5044, allocations: 0.7471 MB / 0.6948 GB, free: 13.18 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002415/0.5047, allocations: 207.8 kB / 0.695 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003474/0.5051, allocations: 243.5 kB / 0.6952 GB, free: 13.08 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001688/0.5067, allocations: 1.004 MB / 0.6962 GB, free: 12.81 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.5068, allocations: 0 / 0.6962 GB, free: 12.81 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5068, allocations: 1.219 kB / 0.6962 GB, free: 12.81 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.5068, allocations: 0 / 0.6962 GB, free: 12.81 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.001449/0.5082, allocations: 0.881 MB / 0.6971 GB, free: 12.13 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.5083, allocations: 10.36 kB / 0.6971 GB, free: 12.13 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001343/0.5096, allocations: 213.4 kB / 0.6973 GB, free: 12.08 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001855/0.5115, allocations: 0.9646 MB / 0.6982 GB, free: 11.62 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.248e-05/0.5116, allocations: 10.61 kB / 0.6982 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.295e-05/0.5116, allocations: 18.09 kB / 0.6982 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005966/0.5122, allocations: 251.9 kB / 0.6985 GB, free: 11.53 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.5122, allocations: 3.938 kB / 0.6985 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.52e-05/0.5123, allocations: 5 kB / 0.6985 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.5123, allocations: 7.219 kB / 0.6985 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007471/0.513, allocations: 241.3 kB / 0.6987 GB, free: 11.46 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001368/0.5144, allocations: 0.821 MB / 0.6995 GB, free: 11 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000764/0.5152, allocations: 298.7 kB / 0.6998 GB, free: 10.91 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003609/0.5156, allocations: 131 kB / 0.6999 GB, free: 10.88 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.5156, allocations: 2.875 kB / 0.6999 GB, free: 10.88 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.39e-05/0.5156, allocations: 36.34 kB / 0.7 GB, free: 10.83 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.923e-06/0.5156, allocations: 0 / 0.7 GB, free: 10.83 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.001312/0.5169, allocations: 451.7 kB / 0.7004 GB, free: 10.69 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.268e-05/0.517, allocations: 53.2 kB / 0.7005 GB, free: 10.62 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008774/0.5179, allocations: 0.7383 MB / 0.7012 GB, free: 10.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.286e-05/0.5179, allocations: 31.08 kB / 0.7012 GB, free: 10.26 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.5181, allocations: 227.8 kB / 0.7014 GB, free: 10.08 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.174e-05/0.5181, allocations: 38.28 kB / 0.7015 GB, free: 10.05 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002379/0.5183, allocations: 158.8 kB / 0.7016 GB, free: 9.988 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.721e-05/0.5185, allocations: 370.1 kB / 0.702 GB, free: 9.652 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000745/0.5192, allocations: 441.2 kB / 0.7024 GB, free: 9.512 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007985/0.52, allocations: 0.5316 MB / 0.7029 GB, free: 9.273 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001459/0.5215, allocations: 0.8731 MB / 0.7038 GB, free: 8.926 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.5215, allocations: 0 / 0.7038 GB, free: 8.926 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001884/0.5234, allocations: 1.073 MB / 0.7048 GB, free: 8.543 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.5234, allocations: 6.156 kB / 0.7048 GB, free: 8.543 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.5234, allocations: 2.203 kB / 0.7048 GB, free: 8.543 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.653e-05/0.5235, allocations: 4.969 kB / 0.7048 GB, free: 8.543 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005132/0.524, allocations: 117.6 kB / 0.7049 GB, free: 8.527 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.524, allocations: 4.891 kB / 0.7049 GB, free: 8.527 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005084/0.5245, allocations: 77.25 kB / 0.705 GB, free: 8.488 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.948e-05/0.5246, allocations: 33.64 kB / 0.705 GB, free: 8.484 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008555/0.5255, allocations: 0.5463 MB / 0.7056 GB, free: 8.238 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007199/0.5262, allocations: 469.2 kB / 0.706 GB, free: 8.02 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001104/0.5273, allocations: 0.725 MB / 0.7067 GB, free: 7.723 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.986e-06/0.5273, allocations: 5.375 kB / 0.7067 GB, free: 7.719 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001529/0.5289, allocations: 0.9129 MB / 0.7076 GB, free: 7.391 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.5289, allocations: 9.531 kB / 0.7076 GB, free: 7.387 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.5289, allocations: 4.969 kB / 0.7076 GB, free: 7.387 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.312e-06/0.5289, allocations: 4.031 kB / 0.7076 GB, free: 7.387 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004473/0.5294, allocations: 113.3 kB / 0.7077 GB, free: 7.371 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.5294, allocations: 4.172 kB / 0.7078 GB, free: 7.371 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004955/0.5299, allocations: 60.38 kB / 0.7078 GB, free: 7.348 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.964e-05/0.5299, allocations: 25.67 kB / 0.7078 GB, free: 7.344 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.0001532/0.5301, allocations: 197.8 kB / 0.708 GB, free: 7.148 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.819e-05/0.5302, allocations: 57.03 kB / 0.7081 GB, free: 7.113 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009889/0.5312, allocations: 361.5 kB / 0.7084 GB, free: 6.98 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.5312, allocations: 1.406 kB / 0.7084 GB, free: 6.98 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.5312, allocations: 5.531 kB / 0.7084 GB, free: 6.977 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.5312, allocations: 0.6562 kB / 0.7084 GB, free: 6.977 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000474/0.5317, allocations: 397.6 kB / 0.7088 GB, free: 6.715 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.5317, allocations: 1.219 kB / 0.7088 GB, free: 6.715 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002564/0.532, allocations: 42.84 kB / 0.7089 GB, free: 6.711 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.532, allocations: 1.594 kB / 0.7089 GB, free: 6.711 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.532, allocations: 4.469 kB / 0.7089 GB, free: 6.711 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.532, allocations: 4.609 kB / 0.7089 GB, free: 6.707 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.532, allocations: 0 / 0.7089 GB, free: 6.707 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008187/0.5328, allocations: 436.4 kB / 0.7093 GB, free: 6.477 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001502/0.533, allocations: 157.6 kB / 0.7094 GB, free: 6.332 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.692e-05/0.5331, allocations: 1.094 kB / 0.7094 GB, free: 6.332 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002912/0.5334, allocations: 27.58 kB / 0.7095 GB, free: 6.324 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.659e-05/0.5334, allocations: 8.953 kB / 0.7095 GB, free: 6.324 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.418e-05/0.5335, allocations: 9.25 kB / 0.7095 GB, free: 6.324 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005787/0.534, allocations: 0.4938 MB / 0.71 GB, free: 6.109 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5341, allocations: 0 / 0.71 GB, free: 6.109 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001171/0.5352, allocations: 310.8 kB / 0.7103 GB, free: 6.07 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.0007833/0.536, allocations: 370.2 kB / 0.7106 GB, free: 5.934 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002007/0.538, allocations: 1.15 MB / 0.7117 GB, free: 5.543 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5381, allocations: 0 / 0.7117 GB, free: 5.543 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003649/0.5384, allocations: 140 kB / 0.7119 GB, free: 5.508 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009133/0.5393, allocations: 204.2 kB / 0.7121 GB, free: 5.449 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/0.5408, allocations: 0.983 MB / 0.713 GB, free: 4.926 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003636/0.5412, allocations: 0.8893 MB / 0.7139 GB, free: 4.188 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002212/0.5414, allocations: 61.58 kB / 0.7139 GB, free: 4.168 MB / 494.1 MB Notification: Performance of SimCode: time 6.91e-07/0.5414, allocations: 0 / 0.7139 GB, free: 4.168 MB / 494.1 MB Notification: Performance of Templates: time 0.01548/0.5569, allocations: 9.941 MB / 0.7237 GB, free: 56 kB / 494.1 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)