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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7452/0.7452, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 179 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 221.3 MB / 441.4 MB, free: 4.582 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 99.61 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001868/0.001868, allocations: 274.2 kB / 0.5939 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.892e-05/3.914e-05, allocations: 4 kB / 0.6834 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4342/0.4343, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1332/0.5675, allocations: 120.6 MB / 0.882 GB, free: 3.945 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/0.5678, allocations: 95.81 kB / 0.8821 GB, free: 3.855 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.03407/0.6019, allocations: 11.26 MB / 0.8931 GB, free: 8.582 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.353e-06/0.602, allocations: 0 / 0.8931 GB, free: 8.582 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.623e-05/0.602, allocations: 12 kB / 0.8931 GB, free: 8.57 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008877/0.6029, allocations: 0.5212 MB / 0.8937 GB, free: 8.004 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.6029, allocations: 8.031 kB / 0.8937 GB, free: 7.996 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003033/0.6032, allocations: 47.59 kB / 0.8937 GB, free: 7.949 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001308/0.6046, allocations: 0.6281 MB / 0.8943 GB, free: 7.281 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.6046, allocations: 4 kB / 0.8943 GB, free: 7.277 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.342e-05/0.6046, allocations: 15.94 kB / 0.8943 GB, free: 7.262 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002361/0.6049, allocations: 131 kB / 0.8945 GB, free: 7.129 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.6049, allocations: 3.938 kB / 0.8945 GB, free: 7.125 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.6049, allocations: 4 kB / 0.8945 GB, free: 7.121 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.6049, allocations: 4 kB / 0.8945 GB, free: 7.117 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000174/0.6051, allocations: 87.95 kB / 0.8946 GB, free: 7.031 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008312/0.6059, allocations: 0.4964 MB / 0.895 GB, free: 6.484 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.6062, allocations: 102.5 kB / 0.8951 GB, free: 6.375 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.101e-05/0.6063, allocations: 44.84 kB / 0.8952 GB, free: 6.328 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.6063, allocations: 0 / 0.8952 GB, free: 6.328 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.6063, allocations: 30.56 kB / 0.8952 GB, free: 6.289 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.6063, allocations: 0 / 0.8952 GB, free: 6.289 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8): time 0.0003208/0.6067, allocations: 145.5 kB / 0.8954 GB, free: 6.141 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.6067, allocations: 59.39 kB / 0.8954 GB, free: 6.07 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000305/0.607, allocations: 294.6 kB / 0.8957 GB, free: 5.773 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.607, allocations: 29.7 kB / 0.8957 GB, free: 5.738 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.6072, allocations: 148.1 kB / 0.8959 GB, free: 5.59 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.152e-05/0.6072, allocations: 27.55 kB / 0.8959 GB, free: 5.562 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.39e-05/0.6072, allocations: 4 kB / 0.8959 GB, free: 5.559 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.6074, allocations: 339.1 kB / 0.8962 GB, free: 5.219 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.903e-05/0.6075, allocations: 47.98 kB / 0.8963 GB, free: 5.172 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.6076, allocations: 112.6 kB / 0.8964 GB, free: 5.031 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001214/0.6077, allocations: 71.94 kB / 0.8964 GB, free: 4.961 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.6078, allocations: 7.891 kB / 0.8964 GB, free: 4.953 MB / 0.5573 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003479/0.6081, allocations: 217.1 kB / 0.8966 GB, free: 4.734 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002765/0.6084, allocations: 0.6994 MB / 0.8973 GB, free: 3.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.6084, allocations: 0 / 0.8973 GB, free: 3.98 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.6084, allocations: 8 kB / 0.8973 GB, free: 3.973 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000255/0.6087, allocations: 47.95 kB / 0.8974 GB, free: 3.926 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.6087, allocations: 7.938 kB / 0.8974 GB, free: 3.918 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/0.6089, allocations: 35.69 kB / 0.8974 GB, free: 3.883 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.596e-05/0.6089, allocations: 22.17 kB / 0.8974 GB, free: 3.863 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 9.238e-06/0.609, allocations: 5.25 kB / 0.8975 GB, free: 3.859 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002988/0.6093, allocations: 171.7 kB / 0.8976 GB, free: 3.691 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.6093, allocations: 4 kB / 0.8976 GB, free: 3.688 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.116e-06/0.6093, allocations: 4.219 kB / 0.8976 GB, free: 3.684 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001975/0.6095, allocations: 47.95 kB / 0.8977 GB, free: 3.637 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.6095, allocations: 0 / 0.8977 GB, free: 3.637 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001568/0.6097, allocations: 35.75 kB / 0.8977 GB, free: 3.602 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.364e-05/0.6097, allocations: 12 kB / 0.8977 GB, free: 3.59 MB / 0.5573 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.712e-05/0.6098, allocations: 109 kB / 0.8978 GB, free: 3.477 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.089e-05/0.6099, allocations: 35.66 kB / 0.8979 GB, free: 3.441 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000363/0.6102, allocations: 160.3 kB / 0.898 GB, free: 3.281 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.6102, allocations: 3.984 kB / 0.898 GB, free: 3.277 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.6103, allocations: 0 / 0.898 GB, free: 3.277 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.6103, allocations: 96 / 0.898 GB, free: 3.277 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002976/0.6106, allocations: 269.4 kB / 0.8983 GB, free: 2.965 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.6106, allocations: 0 / 0.8983 GB, free: 2.965 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/0.6107, allocations: 35.86 kB / 0.8983 GB, free: 2.93 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.6108, allocations: 7.984 kB / 0.8983 GB, free: 2.922 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.6108, allocations: 0 / 0.8983 GB, free: 2.922 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.6108, allocations: 0 / 0.8983 GB, free: 2.922 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.6108, allocations: 0 / 0.8983 GB, free: 2.922 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002701/0.6111, allocations: 243.1 kB / 0.8985 GB, free: 2.668 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.6112, allocations: 112.8 kB / 0.8986 GB, free: 2.539 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.185e-05/0.6112, allocations: 3.953 kB / 0.8987 GB, free: 2.535 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.6114, allocations: 11.98 kB / 0.8987 GB, free: 2.523 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.751e-05/0.6114, allocations: 7.984 kB / 0.8987 GB, free: 2.516 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.6115, allocations: 11.94 kB / 0.8987 GB, free: 2.504 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002321/0.6117, allocations: 230.2 kB / 0.8989 GB, free: 2.277 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6117, allocations: 0 / 0.8989 GB, free: 2.277 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0007364/0.6124, allocations: 183.8 kB / 0.8991 GB, free: 2.098 MB / 0.5573 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006466/0.6131, allocations: 411.2 kB / 0.8995 GB, free: 1.695 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004029/0.6135, allocations: 229.7 kB / 0.8997 GB, free: 1.469 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.6135, allocations: 0 / 0.8997 GB, free: 1.469 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 7.765e-05/0.6136, allocations: 43.98 kB / 0.8997 GB, free: 1.426 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004101/0.614, allocations: 95.22 kB / 0.8998 GB, free: 1.336 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005747/0.6146, allocations: 310.2 kB / 0.9001 GB, free: 1.008 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/0.615, allocations: 0.7764 MB / 0.9009 GB, free: 208 kB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004224/0.6154, allocations: 127.2 kB / 0.901 GB, free: 80 kB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.548e-05/0.6155, allocations: 31.42 kB / 0.901 GB, free: 48 kB / 0.5573 GB Notification: Performance of SimCode: time 2.31e-07/0.6155, allocations: 0 / 0.901 GB, free: 48 kB / 0.5573 GB Notification: Performance of Templates: time 0.01424/0.6297, allocations: 8.654 MB / 0.9095 GB, free: 7.477 MB / 0.573 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)