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.001322/0.001322, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001146/0.001146, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.28/1.28, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002149/0.002149, allocations: 285.1 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9033/0.9033, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001956, allocations: 107.8 kB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4278/0.4297, allocations: 86.97 MB / 0.767 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003827/0.4336, allocations: 2.299 MB / 0.7693 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006033/0.4397, allocations: 3.791 MB / 0.773 GB, free: 13.8 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003287/0.44, allocations: 4 kB / 0.773 GB, free: 13.8 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002952/0.443, allocations: 1.054 MB / 0.774 GB, free: 12.74 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0009661/0.444, allocations: 418.4 kB / 0.7744 GB, free: 12.33 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.4451, allocations: 0.5185 MB / 0.7749 GB, free: 11.81 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004503/0.4496, allocations: 3.146 MB / 0.778 GB, free: 8.664 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.4498, allocations: 44.67 kB / 0.778 GB, free: 8.621 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003866/0.4502, allocations: 227.3 kB / 0.7783 GB, free: 8.398 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000336/0.4506, allocations: 215.2 kB / 0.7785 GB, free: 8.188 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.887e-05/0.4506, allocations: 20 kB / 0.7785 GB, free: 8.168 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001067/0.4517, allocations: 0.7603 MB / 0.7792 GB, free: 7.406 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002104/0.4519, allocations: 207.5 kB / 0.7794 GB, free: 7.203 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000238/0.4522, allocations: 242.6 kB / 0.7797 GB, free: 6.965 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001351/0.4535, allocations: 1.024 MB / 0.7807 GB, free: 5.938 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.4536, allocations: 4 kB / 0.7807 GB, free: 5.934 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4536, allocations: 0 / 0.7807 GB, free: 5.934 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.733e-05/0.4536, allocations: 0 / 0.7807 GB, free: 5.934 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.001668/0.4553, allocations: 0.8905 MB / 0.7815 GB, free: 4.992 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.4553, allocations: 15.97 kB / 0.7815 GB, free: 4.977 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001288/0.4566, allocations: 208 kB / 0.7817 GB, free: 4.773 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001972/0.4586, allocations: 0.9754 MB / 0.7827 GB, free: 3.754 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.4586, allocations: 11.98 kB / 0.7827 GB, free: 3.742 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.772e-05/0.4587, allocations: 12 kB / 0.7827 GB, free: 3.73 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005377/0.4592, allocations: 258.5 kB / 0.783 GB, free: 3.473 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.4592, allocations: 0 / 0.783 GB, free: 3.473 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.4593, allocations: 4 kB / 0.783 GB, free: 3.469 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.4593, allocations: 4 kB / 0.783 GB, free: 3.465 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006199/0.4599, allocations: 231.8 kB / 0.7832 GB, free: 3.238 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001367/0.4613, allocations: 0.8237 MB / 0.784 GB, free: 2.363 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006913/0.462, allocations: 302.6 kB / 0.7843 GB, free: 2.059 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003193/0.4623, allocations: 124.7 kB / 0.7844 GB, free: 1.934 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.911e-05/0.4623, allocations: 7.984 kB / 0.7844 GB, free: 1.926 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.4624, allocations: 30.56 kB / 0.7844 GB, free: 1.887 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.303e-06/0.4624, allocations: 0 / 0.7844 GB, free: 1.887 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.001158/0.4635, allocations: 440.7 kB / 0.7849 GB, free: 1.449 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.4636, allocations: 51.41 kB / 0.7849 GB, free: 1.387 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007679/0.4644, allocations: 0.742 MB / 0.7856 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.37e-05/0.4644, allocations: 29.7 kB / 0.7857 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/0.4646, allocations: 228.7 kB / 0.7859 GB, free: 380 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.242e-05/0.4646, allocations: 39.55 kB / 0.7859 GB, free: 340 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001974/0.4648, allocations: 161.9 kB / 0.7861 GB, free: 172 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.465, allocations: 370.8 kB / 0.7864 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006399/0.4656, allocations: 442.9 kB / 0.7869 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007114/0.4663, allocations: 0.5239 MB / 0.7874 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001226/0.4676, allocations: 0.8741 MB / 0.7882 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.4676, allocations: 0 / 0.7882 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001541/0.4691, allocations: 1.065 MB / 0.7893 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.4692, allocations: 8 kB / 0.7893 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.4692, allocations: 4.359 kB / 0.7893 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.4692, allocations: 4 kB / 0.7893 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004722/0.4697, allocations: 111.8 kB / 0.7894 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.4697, allocations: 4 kB / 0.7894 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004164/0.4701, allocations: 75.28 kB / 0.7895 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.339e-05/0.4702, allocations: 35.98 kB / 0.7895 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007508/0.4709, allocations: 0.5505 MB / 0.79 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006278/0.4716, allocations: 464.4 kB / 0.7905 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001044/0.4726, allocations: 0.7237 MB / 0.7912 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.078e-06/0.4727, allocations: 4 kB / 0.7912 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001387/0.474, allocations: 0.9222 MB / 0.7921 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.4741, allocations: 4 kB / 0.7921 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.4741, allocations: 4 kB / 0.7921 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.39e-06/0.4741, allocations: 7.938 kB / 0.7921 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004158/0.4745, allocations: 107.8 kB / 0.7922 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.4745, allocations: 4 kB / 0.7922 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003977/0.4749, allocations: 59.64 kB / 0.7923 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.974e-05/0.475, allocations: 24 kB / 0.7923 GB, free: 9.672 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.0001339/0.4751, allocations: 192.2 kB / 0.7925 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.033e-05/0.4752, allocations: 51.28 kB / 0.7925 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008687/0.4761, allocations: 366.5 kB / 0.7929 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.4761, allocations: 0 / 0.7929 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.4761, allocations: 0 / 0.7929 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.4761, allocations: 3.984 kB / 0.7929 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004116/0.4765, allocations: 405.3 kB / 0.7933 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.4765, allocations: 0 / 0.7933 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002585/0.4768, allocations: 43.95 kB / 0.7933 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.4768, allocations: 7.938 kB / 0.7933 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.4768, allocations: 4 kB / 0.7933 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.4768, allocations: 0 / 0.7933 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4768, allocations: 4 kB / 0.7933 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007581/0.4776, allocations: 434.5 kB / 0.7937 GB, free: 8.109 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001736/0.4778, allocations: 148.3 kB / 0.7939 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.195e-05/0.4779, allocations: 8 kB / 0.7939 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002774/0.4781, allocations: 23.97 kB / 0.7939 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.902e-05/0.4782, allocations: 8 kB / 0.7939 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.103e-05/0.4782, allocations: 11.98 kB / 0.7939 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005353/0.4788, allocations: 0.4951 MB / 0.7944 GB, free: 7.406 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4788, allocations: 0 / 0.7944 GB, free: 7.406 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008532/0.4796, allocations: 319.8 kB / 0.7947 GB, free: 7.094 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.0007483/0.4804, allocations: 362.9 kB / 0.7951 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001794/0.4822, allocations: 1.135 MB / 0.7962 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4822, allocations: 192 / 0.7962 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003186/0.4825, allocations: 131.9 kB / 0.7963 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007746/0.4833, allocations: 205.5 kB / 0.7965 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.4848, allocations: 0.968 MB / 0.7974 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004567/0.4853, allocations: 0.8817 MB / 0.7983 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001839/0.4855, allocations: 63.34 kB / 0.7984 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of SimCode: time 2.5e-07/0.4855, allocations: 0 / 0.7984 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of Templates: time 0.01418/0.4997, allocations: 10.01 MB / 0.8081 GB, free: 9.375 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)