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.7946/0.7946, allocations: 143.4 MB / 158.3 MB, free: 5.801 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 173.1 kB / 191.5 MB, free: 5.762 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.43/1.43, allocations: 223.2 MB / 447.7 MB, free: 4.801 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.0009618/0.0009617, allocations: 96.28 kB / 0.5188 GB, free: 1.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001959/0.001959, allocations: 278.4 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004615/0.0004615, allocations: 18.03 kB / 0.6929 GB, free: 59.65 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1752, allocations: 82.8 MB / 0.7737 GB, free: 13.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5886/0.7639, allocations: 120.7 MB / 0.8915 GB, free: 22.04 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/0.7642, allocations: 91.12 kB / 0.8916 GB, free: 22.04 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.03423/0.7984, allocations: 11.3 MB / 0.9027 GB, free: 21.23 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.986e-06/0.7985, allocations: 2.016 kB / 0.9027 GB, free: 21.23 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.284e-05/0.7985, allocations: 9.344 kB / 0.9027 GB, free: 21.23 MB / 0.5417 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.00236/0.8009, allocations: 0.6673 MB / 0.9033 GB, free: 20.75 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 7.624e-05/0.801, allocations: 8.5 kB / 0.9033 GB, free: 20.75 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005672/0.8016, allocations: 48.23 kB / 0.9034 GB, free: 20.73 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002261/0.8038, allocations: 0.6242 MB / 0.904 GB, free: 20.48 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.692e-05/0.8039, allocations: 8.625 kB / 0.904 GB, free: 20.48 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.336e-05/0.804, allocations: 15.95 kB / 0.904 GB, free: 20.48 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006473/0.8046, allocations: 155.3 kB / 0.9042 GB, free: 20.45 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.8047, allocations: 4 kB / 0.9042 GB, free: 20.44 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.427e-05/0.8047, allocations: 5.062 kB / 0.9042 GB, free: 20.44 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.8047, allocations: 1.656 kB / 0.9042 GB, free: 20.44 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006402/0.8054, allocations: 124.9 kB / 0.9043 GB, free: 20.44 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001497/0.8069, allocations: 0.4976 MB / 0.9048 GB, free: 20.15 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006092/0.8075, allocations: 136.5 kB / 0.9049 GB, free: 20.12 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.805e-05/0.8076, allocations: 1.094 kB / 0.9049 GB, free: 20.12 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.8076, allocations: 35.78 kB / 0.905 GB, free: 20.08 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=8): time 2.755e-06/0.8077, allocations: 0 / 0.905 GB, free: 20.08 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8): time 0.001272/0.8089, allocations: 246.5 kB / 0.9052 GB, free: 20.02 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.809, allocations: 55.52 kB / 0.9052 GB, free: 19.96 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007147/0.8097, allocations: 291.8 kB / 0.9055 GB, free: 19.86 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.818e-05/0.8098, allocations: 30.73 kB / 0.9055 GB, free: 19.83 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/0.81, allocations: 150.9 kB / 0.9057 GB, free: 19.74 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.748e-05/0.81, allocations: 25.12 kB / 0.9057 GB, free: 19.73 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.024e-05/0.8101, allocations: 8.266 kB / 0.9057 GB, free: 19.72 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.8102, allocations: 337 kB / 0.906 GB, free: 19.41 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003839/0.8106, allocations: 76.03 kB / 0.9061 GB, free: 19.41 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004657/0.8111, allocations: 142.2 kB / 0.9063 GB, free: 19.32 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003837/0.8115, allocations: 83.56 kB / 0.9063 GB, free: 19.32 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.8115, allocations: 0 / 0.9063 GB, free: 19.32 MB / 0.5417 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009343/0.8124, allocations: 267.2 kB / 0.9066 GB, free: 19.25 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001958/0.8127, allocations: 0.6982 MB / 0.9073 GB, free: 18.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.8127, allocations: 1.531 kB / 0.9073 GB, free: 18.52 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.543e-05/0.8127, allocations: 3 kB / 0.9073 GB, free: 18.52 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004222/0.8132, allocations: 53.48 kB / 0.9073 GB, free: 18.51 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.438e-05/0.8132, allocations: 7.312 kB / 0.9073 GB, free: 18.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003421/0.8135, allocations: 32.38 kB / 0.9074 GB, free: 18.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.172e-05/0.8136, allocations: 15.31 kB / 0.9074 GB, free: 18.5 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.8137, allocations: 9.438 kB / 0.9074 GB, free: 18.49 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008311/0.8145, allocations: 215 kB / 0.9076 GB, free: 18.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.8145, allocations: 1.438 kB / 0.9076 GB, free: 18.48 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.464e-06/0.8145, allocations: 3.094 kB / 0.9076 GB, free: 18.48 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003593/0.8149, allocations: 51.05 kB / 0.9076 GB, free: 18.47 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.8149, allocations: 3.312 kB / 0.9076 GB, free: 18.47 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002954/0.8152, allocations: 22.42 kB / 0.9077 GB, free: 18.46 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.674e-05/0.8153, allocations: 16.98 kB / 0.9077 GB, free: 18.46 MB / 0.5417 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 (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 0.0002976/0.8156, allocations: 232.6 kB / 0.9079 GB, free: 18.27 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.668e-05/0.8157, allocations: 29.8 kB / 0.9079 GB, free: 18.25 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008805/0.8166, allocations: 211 kB / 0.9081 GB, free: 18.2 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.8166, allocations: 5.75 kB / 0.9081 GB, free: 18.2 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.8167, allocations: 0 / 0.9081 GB, free: 18.2 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.8167, allocations: 3.938 kB / 0.9081 GB, free: 18.19 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004577/0.8171, allocations: 272.1 kB / 0.9084 GB, free: 18 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.8172, allocations: 5.344 kB / 0.9084 GB, free: 17.99 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002469/0.8174, allocations: 30.05 kB / 0.9084 GB, free: 17.99 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.8174, allocations: 1.781 kB / 0.9084 GB, free: 17.99 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/0.8175, allocations: 4.297 kB / 0.9084 GB, free: 17.99 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.8175, allocations: 96 / 0.9084 GB, free: 17.99 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.8175, allocations: 3.938 kB / 0.9084 GB, free: 17.98 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006981/0.8182, allocations: 277.8 kB / 0.9087 GB, free: 17.84 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001403/0.8184, allocations: 115.3 kB / 0.9088 GB, free: 17.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.295e-05/0.8184, allocations: 5.547 kB / 0.9088 GB, free: 17.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002689/0.8187, allocations: 17.73 kB / 0.9088 GB, free: 17.72 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.723e-05/0.8188, allocations: 8 kB / 0.9089 GB, free: 17.72 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.56e-05/0.8188, allocations: 7.422 kB / 0.9089 GB, free: 17.71 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003847/0.8192, allocations: 235.5 kB / 0.9091 GB, free: 17.63 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.91e-07/0.8193, allocations: 0 / 0.9091 GB, free: 17.63 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001458/0.8207, allocations: 177 kB / 0.9093 GB, free: 17.6 MB / 0.5417 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 (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.001113/0.8218, allocations: 403.9 kB / 0.9096 GB, free: 17.43 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001286/0.8232, allocations: 281.4 kB / 0.9099 GB, free: 17.41 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.8232, allocations: 4.344 kB / 0.9099 GB, free: 17.41 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003152/0.8235, allocations: 71 kB / 0.91 GB, free: 17.4 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007247/0.8242, allocations: 93.25 kB / 0.9101 GB, free: 17.39 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.8255, allocations: 0.5103 MB / 0.9106 GB, free: 17.13 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.8258, allocations: 0.7802 MB / 0.9113 GB, free: 16.43 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0005341/0.8263, allocations: 82.83 kB / 0.9114 GB, free: 16.4 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.8265, allocations: 29.45 kB / 0.9114 GB, free: 16.39 MB / 0.5417 GB Notification: Performance of SimCode: time 4.91e-07/0.8265, allocations: 1.344 kB / 0.9114 GB, free: 16.39 MB / 0.5417 GB Notification: Performance of Templates: time 0.02043/0.8469, allocations: 7.766 MB / 0.919 GB, free: 15.67 MB / 0.5417 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)