Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="Buildings_8_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="Buildings_8_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.717/1.717, allocations: 292.6 MB / 307.5 MB, free: 5.234 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00137/0.00137, allocations: 177.1 kB / 377.1 MB, free: 1.551 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.634/1.634, allocations: 205.4 MB / 0.6366 GB, free: 8.574 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008678/0.000868, allocations: 89.5 kB / 0.7509 GB, free: 62.87 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003814/0.0003814, allocations: 12 kB / 0.8749 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2881, allocations: 116.3 MB / 0.9884 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7938/1.082, allocations: 151 MB / 1.136 GB, free: 26.68 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003103/1.082, allocations: 90.3 kB / 1.136 GB, free: 26.6 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0359/1.118, allocations: 11.19 MB / 1.147 GB, free: 18.99 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.965e-06/1.118, allocations: 0 / 1.147 GB, free: 18.99 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.374e-05/1.118, allocations: 12 kB / 1.147 GB, free: 18.98 MB / 0.7292 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.00167/1.12, allocations: 0.6712 MB / 1.148 GB, free: 18.32 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/1.12, allocations: 15.95 kB / 1.148 GB, free: 18.3 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.789e-05/1.12, allocations: 40.81 kB / 1.148 GB, free: 18.26 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003255/1.12, allocations: 52.39 kB / 1.148 GB, free: 18.21 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001428/1.122, allocations: 0.62 MB / 1.148 GB, free: 17.66 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/1.122, allocations: 8 kB / 1.148 GB, free: 17.66 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.321e-05/1.122, allocations: 13.25 kB / 1.148 GB, free: 17.64 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003935/1.122, allocations: 152.7 kB / 1.148 GB, free: 17.53 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/1.122, allocations: 4 kB / 1.148 GB, free: 17.52 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.166e-05/1.122, allocations: 8.656 kB / 1.148 GB, free: 17.52 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/1.122, allocations: 0 / 1.148 GB, free: 17.52 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003708/1.123, allocations: 132 kB / 1.149 GB, free: 17.41 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008531/1.124, allocations: 0.4962 MB / 1.149 GB, free: 16.95 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003241/1.124, allocations: 130 kB / 1.149 GB, free: 16.83 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.331e-05/1.124, allocations: 4 kB / 1.149 GB, free: 16.83 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/1.124, allocations: 35.12 kB / 1.149 GB, free: 16.79 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.293e-06/1.124, allocations: 3.938 kB / 1.149 GB, free: 16.78 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0006882/1.125, allocations: 243.6 kB / 1.149 GB, free: 16.57 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/1.125, allocations: 55.41 kB / 1.15 GB, free: 16.51 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003333/1.125, allocations: 295.3 kB / 1.15 GB, free: 16.25 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/1.125, allocations: 25.7 kB / 1.15 GB, free: 16.22 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.83e-05/1.125, allocations: 156.1 kB / 1.15 GB, free: 16.07 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/1.125, allocations: 22 kB / 1.15 GB, free: 16.05 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.345e-05/1.125, allocations: 8 kB / 1.15 GB, free: 16.04 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.147e-05/1.125, allocations: 335.5 kB / 1.15 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001943/1.126, allocations: 82.91 kB / 1.15 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002202/1.126, allocations: 140.5 kB / 1.151 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/1.126, allocations: 81.73 kB / 1.151 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.126, allocations: 0 / 1.151 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005119/1.127, allocations: 263.8 kB / 1.151 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001749/1.127, allocations: 0.7008 MB / 1.152 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/1.127, allocations: 0.9375 kB / 1.152 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/1.127, allocations: 5.359 kB / 1.152 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002453/1.127, allocations: 50.03 kB / 1.152 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/1.127, allocations: 5.406 kB / 1.152 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001764/1.127, allocations: 34.75 kB / 1.152 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.744e-05/1.127, allocations: 15.19 kB / 1.152 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.784e-06/1.127, allocations: 8 kB / 1.152 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004534/1.128, allocations: 212.7 kB / 1.152 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/1.128, allocations: 4.75 kB / 1.152 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.755e-06/1.128, allocations: 0 / 1.152 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001803/1.128, allocations: 54.48 kB / 1.152 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.466e-06/1.128, allocations: 1.094 kB / 1.152 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/1.128, allocations: 23.55 kB / 1.152 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.219e-05/1.128, allocations: 21.95 kB / 1.152 GB, free: 14.09 MB / 0.7292 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.0001695/1.128, allocations: 231.3 kB / 1.152 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.627e-05/1.128, allocations: 28.78 kB / 1.152 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005599/1.129, allocations: 207.2 kB / 1.152 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/1.129, allocations: 4 kB / 1.152 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/1.129, allocations: 0 / 1.152 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/1.129, allocations: 0 / 1.152 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002643/1.129, allocations: 275.8 kB / 1.153 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/1.129, allocations: 8.562 kB / 1.153 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001446/1.13, allocations: 27.73 kB / 1.153 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/1.13, allocations: 0 / 1.153 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/1.13, allocations: 9.406 kB / 1.153 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/1.13, allocations: 0.5625 kB / 1.153 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/1.13, allocations: 0 / 1.153 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003983/1.13, allocations: 277.7 kB / 1.153 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.716e-05/1.13, allocations: 113.9 kB / 1.153 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.429e-05/1.13, allocations: 4 kB / 1.153 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/1.13, allocations: 16.34 kB / 1.153 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.937e-05/1.13, allocations: 7.234 kB / 1.153 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/1.13, allocations: 9.453 kB / 1.153 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002285/1.131, allocations: 232.7 kB / 1.153 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.21e-07/1.131, allocations: 0.9375 kB / 1.153 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008789/1.131, allocations: 172.6 kB / 1.154 GB, free: 12.56 MB / 0.7292 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.001303/1.133, allocations: 1.104 MB / 1.155 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000755/1.134, allocations: 286.4 kB / 1.155 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/1.134, allocations: 3.938 kB / 1.155 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001676/1.134, allocations: 68.59 kB / 1.155 GB, free: 11.22 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004687/1.134, allocations: 95.12 kB / 1.155 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/1.136, allocations: 1.934 MB / 1.157 GB, free: 9.223 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/1.136, allocations: 0.7747 MB / 1.158 GB, free: 8.457 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003523/1.136, allocations: 85.28 kB / 1.158 GB, free: 8.391 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/1.136, allocations: 83.48 kB / 1.158 GB, free: 8.32 MB / 0.7292 GB Notification: Performance of SimCode: time 3.81e-07/1.136, allocations: 1.594 kB / 1.158 GB, free: 8.32 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03851/1.175, allocations: 10.96 MB / 1.169 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002134/1.175, allocations: 195.9 kB / 1.169 GB, free: 13.78 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.549/3.724, allocations: 4 kB / 1.169 GB, free: 13.77 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.fmu > Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)