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.001046/0.001046, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.00108/0.00108, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.273/1.273, allocations: 222.9 MB / 241.1 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.002119/0.002119, allocations: 294.8 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.9105/0.9105, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001744/0.001745, allocations: 99.86 kB / 0.6821 GB, free: 6.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3803/0.382, allocations: 86.98 MB / 0.7671 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003342/0.3854, allocations: 2.297 MB / 0.7693 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005687/0.3911, allocations: 3.797 MB / 0.773 GB, free: 13.8 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002381/0.3914, allocations: 7.938 kB / 0.773 GB, free: 13.79 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002558/0.3939, allocations: 1.048 MB / 0.774 GB, free: 12.75 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0008463/0.3948, allocations: 430.3 kB / 0.7744 GB, free: 12.32 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001071/0.3959, allocations: 0.5068 MB / 0.7749 GB, free: 11.82 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004405/0.4003, allocations: 3.146 MB / 0.778 GB, free: 8.668 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.4004, allocations: 52.62 kB / 0.7781 GB, free: 8.617 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003468/0.4008, allocations: 231.2 kB / 0.7783 GB, free: 8.391 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003005/0.4011, allocations: 211.2 kB / 0.7785 GB, free: 8.184 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.971e-05/0.4011, allocations: 20 kB / 0.7785 GB, free: 8.164 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001102/0.4023, allocations: 0.7525 MB / 0.7792 GB, free: 7.41 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001977/0.4025, allocations: 211.5 kB / 0.7794 GB, free: 7.203 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002309/0.4027, allocations: 254.4 kB / 0.7797 GB, free: 6.953 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001237/0.4039, allocations: 1.02 MB / 0.7807 GB, free: 5.93 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.404, allocations: 0 / 0.7807 GB, free: 5.93 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.262e-06/0.404, allocations: 0 / 0.7807 GB, free: 5.93 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.306e-05/0.404, allocations: 4 kB / 0.7807 GB, free: 5.926 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.001463/0.4055, allocations: 0.8866 MB / 0.7815 GB, free: 4.988 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.483e-05/0.4055, allocations: 8.031 kB / 0.7816 GB, free: 4.98 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001356/0.4069, allocations: 212 kB / 0.7818 GB, free: 4.773 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002051/0.4089, allocations: 0.9754 MB / 0.7827 GB, free: 3.754 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.409, allocations: 8 kB / 0.7827 GB, free: 3.746 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.936e-05/0.409, allocations: 12 kB / 0.7827 GB, free: 3.734 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005751/0.4096, allocations: 262.7 kB / 0.783 GB, free: 3.473 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.4096, allocations: 0 / 0.783 GB, free: 3.473 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.261e-05/0.4096, allocations: 4 kB / 0.783 GB, free: 3.469 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/0.4096, allocations: 0 / 0.783 GB, free: 3.469 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006745/0.4103, allocations: 243.8 kB / 0.7832 GB, free: 3.23 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001391/0.4117, allocations: 0.8237 MB / 0.784 GB, free: 2.355 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007026/0.4124, allocations: 290.7 kB / 0.7843 GB, free: 2.062 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003375/0.4128, allocations: 128.7 kB / 0.7844 GB, free: 1.934 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.4128, allocations: 0 / 0.7844 GB, free: 1.934 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.911e-05/0.4129, allocations: 42.5 kB / 0.7845 GB, free: 1.883 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.402e-06/0.4129, allocations: 0 / 0.7845 GB, free: 1.883 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.001233/0.4141, allocations: 432.7 kB / 0.7849 GB, free: 1.453 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.4142, allocations: 55.41 kB / 0.7849 GB, free: 1.387 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008777/0.415, allocations: 0.7419 MB / 0.7857 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.838e-05/0.4151, allocations: 33.7 kB / 0.7857 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000183/0.4153, allocations: 232.7 kB / 0.7859 GB, free: 372 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.583e-05/0.4153, allocations: 35.55 kB / 0.7859 GB, free: 336 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002078/0.4155, allocations: 157.9 kB / 0.7861 GB, free: 172 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001732/0.4157, allocations: 374.8 kB / 0.7864 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006832/0.4164, allocations: 439.3 kB / 0.7869 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007368/0.4172, allocations: 0.5239 MB / 0.7874 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001326/0.4185, allocations: 0.8663 MB / 0.7882 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.4185, allocations: 3.938 kB / 0.7882 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00169/0.4202, allocations: 1.072 MB / 0.7893 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.4202, allocations: 4 kB / 0.7893 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.4203, allocations: 4 kB / 0.7893 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.4203, allocations: 4 kB / 0.7893 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004752/0.4208, allocations: 107.9 kB / 0.7894 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.485e-05/0.4208, allocations: 7.984 kB / 0.7894 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004337/0.4212, allocations: 79.34 kB / 0.7895 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-05/0.4213, allocations: 28 kB / 0.7895 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007836/0.4221, allocations: 0.5621 MB / 0.79 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006691/0.4228, allocations: 464.5 kB / 0.7905 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001155/0.4239, allocations: 0.7198 MB / 0.7912 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.494e-06/0.4239, allocations: 0 / 0.7912 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001502/0.4254, allocations: 0.9104 MB / 0.7921 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.4255, allocations: 16.16 kB / 0.7921 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.4255, allocations: 0 / 0.7921 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.963e-06/0.4255, allocations: 4 kB / 0.7921 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004408/0.4259, allocations: 107.8 kB / 0.7922 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.426, allocations: 7.984 kB / 0.7922 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004411/0.4264, allocations: 63.66 kB / 0.7923 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.637e-05/0.4265, allocations: 27.98 kB / 0.7923 GB, free: 9.664 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.0001566/0.4266, allocations: 196.1 kB / 0.7925 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.478e-05/0.4267, allocations: 51.28 kB / 0.7925 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009671/0.4277, allocations: 354.5 kB / 0.7929 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.4277, allocations: 0 / 0.7929 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4277, allocations: 7.938 kB / 0.7929 GB, free: 9.051 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001929/0.4279, allocations: 144.4 kB / 0.793 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.194e-05/0.428, allocations: 0 / 0.793 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003036/0.4283, allocations: 27.91 kB / 0.793 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.263e-05/0.4284, allocations: 15.98 kB / 0.7931 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009315/0.4293, allocations: 376.7 kB / 0.7934 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000848/0.4301, allocations: 0.494 MB / 0.7939 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000344/0.4305, allocations: 119.9 kB / 0.794 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006082/0.4311, allocations: 0.4951 MB / 0.7945 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of Backend: time 6.91e-07/0.4311, allocations: 0 / 0.7945 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002728/0.4339, allocations: 1.378 MB / 0.7958 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of SimCode: time 0.002019/0.4359, allocations: 1.509 MB / 0.7973 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of Templates: time 0.02243/0.4583, allocations: 14.2 MB / 0.8112 GB, free: 6.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)