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.001392/0.001392, allocations: 107.3 kB / 16.41 MB, free: 6.496 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.001339/0.001339, allocations: 187 kB / 17.34 MB, free: 5.762 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 / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002189/0.002189, allocations: 293.2 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9602/0.9602, allocations: 169.3 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002005, allocations: 95.86 kB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4678/0.4698, allocations: 86.98 MB / 0.767 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003757/0.4736, allocations: 2.301 MB / 0.7693 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006249/0.4799, allocations: 3.79 MB / 0.773 GB, free: 13.79 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003512/0.4803, allocations: 15.88 kB / 0.773 GB, free: 13.77 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003031/0.4833, allocations: 1.042 MB / 0.774 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00101/0.4844, allocations: 426.3 kB / 0.7744 GB, free: 12.31 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001221/0.4856, allocations: 0.5107 MB / 0.7749 GB, free: 11.8 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004771/0.4904, allocations: 3.139 MB / 0.778 GB, free: 8.656 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.4906, allocations: 56.62 kB / 0.778 GB, free: 8.602 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004599/0.4911, allocations: 227.3 kB / 0.7783 GB, free: 8.379 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003631/0.4915, allocations: 215.2 kB / 0.7785 GB, free: 8.168 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.938e-05/0.4916, allocations: 20 kB / 0.7785 GB, free: 8.148 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001267/0.4928, allocations: 0.7486 MB / 0.7792 GB, free: 7.398 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002451/0.4931, allocations: 219.4 kB / 0.7794 GB, free: 7.184 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002777/0.4934, allocations: 246.5 kB / 0.7797 GB, free: 6.941 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001636/0.495, allocations: 1.024 MB / 0.7807 GB, free: 5.914 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.495, allocations: 0 / 0.7807 GB, free: 5.914 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.864e-06/0.495, allocations: 0 / 0.7807 GB, free: 5.914 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.655e-05/0.4951, allocations: 0 / 0.7807 GB, free: 5.914 MB / 0.545 GB 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.001656/0.4967, allocations: 0.8945 MB / 0.7815 GB, free: 4.969 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.4968, allocations: 8.031 kB / 0.7815 GB, free: 4.961 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001297/0.4981, allocations: 204 kB / 0.7817 GB, free: 4.762 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002135/0.5002, allocations: 0.9793 MB / 0.7827 GB, free: 3.738 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.5003, allocations: 8 kB / 0.7827 GB, free: 3.73 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.406e-05/0.5003, allocations: 12 kB / 0.7827 GB, free: 3.719 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005533/0.5009, allocations: 253.4 kB / 0.783 GB, free: 3.465 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.5009, allocations: 4 kB / 0.783 GB, free: 3.461 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.518e-05/0.5009, allocations: 4 kB / 0.783 GB, free: 3.457 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.501, allocations: 0 / 0.783 GB, free: 3.457 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000636/0.5016, allocations: 241.5 kB / 0.7832 GB, free: 3.223 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001539/0.5031, allocations: 0.8315 MB / 0.784 GB, free: 2.34 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006737/0.5038, allocations: 294.7 kB / 0.7843 GB, free: 2.043 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000322/0.5042, allocations: 124.7 kB / 0.7844 GB, free: 1.918 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.5042, allocations: 0 / 0.7844 GB, free: 1.918 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.5042, allocations: 42.48 kB / 0.7844 GB, free: 1.867 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 2.144e-06/0.5042, allocations: 0 / 0.7844 GB, free: 1.867 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.00118/0.5054, allocations: 441 kB / 0.7849 GB, free: 1.43 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/0.5055, allocations: 55.41 kB / 0.7849 GB, free: 1.363 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000912/0.5064, allocations: 0.742 MB / 0.7856 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.799e-05/0.5065, allocations: 33.7 kB / 0.7857 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001816/0.5066, allocations: 228.7 kB / 0.7859 GB, free: 352 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.501e-05/0.5067, allocations: 39.55 kB / 0.7859 GB, free: 312 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002163/0.5069, allocations: 157.9 kB / 0.7861 GB, free: 148 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.5071, allocations: 366.8 kB / 0.7864 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006446/0.5077, allocations: 439 kB / 0.7869 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000717/0.5085, allocations: 0.5278 MB / 0.7874 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001242/0.5097, allocations: 0.8702 MB / 0.7882 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.5097, allocations: 0 / 0.7882 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001625/0.5114, allocations: 1.069 MB / 0.7893 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.5114, allocations: 6.812 kB / 0.7893 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.5114, allocations: 4 kB / 0.7893 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.5115, allocations: 4 kB / 0.7893 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004674/0.5119, allocations: 111.9 kB / 0.7894 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/0.5119, allocations: 4 kB / 0.7894 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004538/0.5124, allocations: 71.34 kB / 0.7895 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.371e-05/0.5125, allocations: 31.98 kB / 0.7895 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007987/0.5133, allocations: 0.5543 MB / 0.79 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006351/0.5139, allocations: 460.5 kB / 0.7905 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001108/0.5151, allocations: 0.7237 MB / 0.7912 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.408e-06/0.5151, allocations: 0 / 0.7912 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001442/0.5165, allocations: 0.9223 MB / 0.7921 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.5165, allocations: 7.984 kB / 0.7921 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.5166, allocations: 3.938 kB / 0.7921 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.741e-06/0.5166, allocations: 4 kB / 0.7921 GB, free: 9.855 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004269/0.517, allocations: 107.8 kB / 0.7922 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.517, allocations: 7.984 kB / 0.7922 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004523/0.5175, allocations: 59.66 kB / 0.7923 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.135e-05/0.5175, allocations: 27.98 kB / 0.7923 GB, free: 9.656 MB / 0.5606 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 (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.000172/0.5177, allocations: 200.1 kB / 0.7925 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.5178, allocations: 51.28 kB / 0.7925 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009522/0.5188, allocations: 358.6 kB / 0.7929 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.227e-06/0.5188, allocations: 4 kB / 0.7929 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.5188, allocations: 0 / 0.7929 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.5188, allocations: 0 / 0.7929 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005487/0.5194, allocations: 405.3 kB / 0.7933 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.5194, allocations: 0 / 0.7933 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002614/0.5197, allocations: 55.83 kB / 0.7933 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.5197, allocations: 0 / 0.7933 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.993e-05/0.5197, allocations: 8 kB / 0.7933 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.634e-06/0.5197, allocations: 0 / 0.7933 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.5197, allocations: 0 / 0.7933 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007754/0.5205, allocations: 426.6 kB / 0.7937 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002347/0.5207, allocations: 148.3 kB / 0.7939 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.316e-05/0.5208, allocations: 8 kB / 0.7939 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000294/0.5211, allocations: 15.98 kB / 0.7939 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.413e-05/0.5212, allocations: 15.98 kB / 0.7939 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.378e-05/0.5212, allocations: 8 kB / 0.7939 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006103/0.5218, allocations: 0.4951 MB / 0.7944 GB, free: 7.398 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5218, allocations: 0 / 0.7944 GB, free: 7.398 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009961/0.5229, allocations: 319.8 kB / 0.7947 GB, free: 7.086 MB / 0.5606 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 (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.0008749/0.5237, allocations: 374.8 kB / 0.7951 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001927/0.5257, allocations: 1.135 MB / 0.7962 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.5257, allocations: 256 / 0.7962 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000326/0.526, allocations: 140 kB / 0.7963 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008818/0.5269, allocations: 204 kB / 0.7965 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/0.5286, allocations: 0.968 MB / 0.7974 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004451/0.529, allocations: 0.8894 MB / 0.7983 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001992/0.5292, allocations: 59.41 kB / 0.7984 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of SimCode: time 9.62e-07/0.5292, allocations: 0 / 0.7984 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of Templates: time 0.01591/0.5451, allocations: 10.07 MB / 0.8082 GB, free: 9.289 MB / 0.5762 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)