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.001639/0.001639, allocations: 112.4 kB / 16.42 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.001705/0.001705, allocations: 193.6 kB / 17.35 MB, free: 5.758 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002067/0.002067, allocations: 288 kB / 291.5 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.912/0.912, allocations: 169.2 MB / 0.499 GB, free: 4.473 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001802/0.001802, allocations: 92.23 kB / 0.6821 GB, free: 7.008 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.364, allocations: 86.97 MB / 0.767 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.00329/0.3674, allocations: 2.305 MB / 0.7693 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005894/0.3733, allocations: 3.789 MB / 0.773 GB, free: 13.85 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002105/0.3735, allocations: 12 kB / 0.773 GB, free: 13.84 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00257/0.3761, allocations: 1.049 MB / 0.774 GB, free: 12.79 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0007705/0.3769, allocations: 418.4 kB / 0.7744 GB, free: 12.38 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000997/0.3779, allocations: 0.5068 MB / 0.7749 GB, free: 11.87 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004321/0.3823, allocations: 3.154 MB / 0.778 GB, free: 8.715 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.3824, allocations: 48.66 kB / 0.7781 GB, free: 8.668 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003239/0.3828, allocations: 231.2 kB / 0.7783 GB, free: 8.441 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002885/0.383, allocations: 211.2 kB / 0.7785 GB, free: 8.234 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.912e-05/0.3831, allocations: 24 kB / 0.7785 GB, free: 8.211 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/0.3843, allocations: 0.7448 MB / 0.7792 GB, free: 7.465 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002008/0.3845, allocations: 223.3 kB / 0.7794 GB, free: 7.246 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001963/0.3847, allocations: 242.6 kB / 0.7797 GB, free: 7.008 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001123/0.3858, allocations: 1.02 MB / 0.7807 GB, free: 5.984 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3858, allocations: 0 / 0.7807 GB, free: 5.984 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3858, allocations: 0 / 0.7807 GB, free: 5.984 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.3858, allocations: 0 / 0.7807 GB, free: 5.984 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.001288/0.3871, allocations: 0.8905 MB / 0.7815 GB, free: 5.043 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.3872, allocations: 8.031 kB / 0.7815 GB, free: 5.035 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001292/0.3885, allocations: 212 kB / 0.7817 GB, free: 4.828 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001806/0.3903, allocations: 0.9676 MB / 0.7827 GB, free: 3.816 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.3903, allocations: 12 kB / 0.7827 GB, free: 3.805 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.762e-05/0.3904, allocations: 15.94 kB / 0.7827 GB, free: 3.789 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005439/0.3909, allocations: 259.5 kB / 0.783 GB, free: 3.531 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.3909, allocations: 0 / 0.783 GB, free: 3.531 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.51e-05/0.391, allocations: 8 kB / 0.783 GB, free: 3.523 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.391, allocations: 0 / 0.783 GB, free: 3.523 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006652/0.3916, allocations: 231.8 kB / 0.7832 GB, free: 3.297 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001207/0.3928, allocations: 0.8276 MB / 0.784 GB, free: 2.418 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007056/0.3936, allocations: 290.7 kB / 0.7843 GB, free: 2.125 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003321/0.3939, allocations: 140.6 kB / 0.7844 GB, free: 1.984 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.3939, allocations: 3.984 kB / 0.7844 GB, free: 1.98 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.394, allocations: 30.56 kB / 0.7844 GB, free: 1.941 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 2.845e-06/0.394, allocations: 11.98 kB / 0.7845 GB, free: 1.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.001183/0.3952, allocations: 429 kB / 0.7849 GB, free: 1.504 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/0.3952, allocations: 63.41 kB / 0.7849 GB, free: 1.43 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007678/0.396, allocations: 0.742 MB / 0.7857 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.22e-05/0.396, allocations: 33.64 kB / 0.7857 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.3962, allocations: 224.7 kB / 0.7859 GB, free: 424 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.178e-05/0.3962, allocations: 35.55 kB / 0.7859 GB, free: 388 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001954/0.3964, allocations: 161.9 kB / 0.7861 GB, free: 220 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.3966, allocations: 370.8 kB / 0.7864 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006679/0.3973, allocations: 439 kB / 0.7869 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000729/0.398, allocations: 0.5316 MB / 0.7874 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001267/0.3993, allocations: 0.8625 MB / 0.7882 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.3993, allocations: 0 / 0.7882 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001593/0.4009, allocations: 1.076 MB / 0.7893 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.4009, allocations: 4 kB / 0.7893 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.4009, allocations: 4 kB / 0.7893 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.401, allocations: 4 kB / 0.7893 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004755/0.4015, allocations: 107.9 kB / 0.7894 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.4015, allocations: 11.92 kB / 0.7894 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004116/0.4019, allocations: 75.34 kB / 0.7895 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.095e-05/0.4019, allocations: 28 kB / 0.7895 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007766/0.4027, allocations: 0.5481 MB / 0.79 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000657/0.4034, allocations: 464.5 kB / 0.7905 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001111/0.4045, allocations: 0.7237 MB / 0.7912 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.074e-06/0.4045, allocations: 0 / 0.7912 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001444/0.406, allocations: 0.9144 MB / 0.7921 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.406, allocations: 11.94 kB / 0.7921 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.095e-06/0.406, allocations: 0 / 0.7921 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.464e-06/0.406, allocations: 4 kB / 0.7921 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004423/0.4065, allocations: 107.8 kB / 0.7922 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/0.4065, allocations: 11.98 kB / 0.7922 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004056/0.4069, allocations: 55.66 kB / 0.7923 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.453e-05/0.407, allocations: 35.97 kB / 0.7923 GB, free: 9.719 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.0001411/0.4071, allocations: 196.1 kB / 0.7925 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.52e-05/0.4072, allocations: 55.28 kB / 0.7925 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009193/0.4081, allocations: 354.4 kB / 0.7929 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.4081, allocations: 0 / 0.7929 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4081, allocations: 0 / 0.7929 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001443/0.4083, allocations: 148.4 kB / 0.793 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.426e-05/0.4084, allocations: 0 / 0.793 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003021/0.4087, allocations: 27.97 kB / 0.793 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/0.4087, allocations: 7.984 kB / 0.793 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009115/0.4096, allocations: 384.6 kB / 0.7934 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008141/0.4105, allocations: 0.4901 MB / 0.7939 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003292/0.4108, allocations: 127.9 kB / 0.794 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005476/0.4114, allocations: 0.5028 MB / 0.7945 GB, free: 7.398 MB / 0.5606 GB Notification: Performance of Backend: time 3.1e-07/0.4114, allocations: 0 / 0.7945 GB, free: 7.398 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002532/0.4139, allocations: 1.36 MB / 0.7958 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of SimCode: time 0.00182/0.4157, allocations: 1.512 MB / 0.7973 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of Templates: time 0.0208/0.4366, allocations: 14.18 MB / 0.8112 GB, free: 6.438 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)