Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.701/1.701, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001065/0.001064, allocations: 184.9 kB / 361.4 MB, free: 6.793 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.494/1.494, allocations: 205.3 MB / 0.62 GB, free: 11.64 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.0007815/0.0007815, allocations: 93.62 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.357e-05/2.351e-05, allocations: 4 kB / 0.8518 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7248/0.7248, allocations: 115.3 MB / 0.9645 GB, free: 78.83 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2179/0.9428, allocations: 149.3 MB / 1.11 GB, free: 6.414 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002826/0.9431, allocations: 91.94 kB / 1.11 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03466/0.9778, allocations: 10.96 MB / 1.121 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.525e-06/0.9779, allocations: 0 / 1.121 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.926e-05/0.9779, allocations: 8 kB / 1.121 GB, free: 11.45 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.001057/0.979, allocations: 0.5288 MB / 1.122 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.9791, allocations: 8.031 kB / 1.122 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003868/0.9794, allocations: 51.64 kB / 1.122 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001434/0.9809, allocations: 0.6203 MB / 1.122 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.9809, allocations: 5.312 kB / 1.122 GB, free: 10.15 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.404e-05/0.981, allocations: 7.938 kB / 1.122 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002438/0.9812, allocations: 119.9 kB / 1.122 GB, free: 10.03 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002093/0.9814, allocations: 117.6 kB / 1.122 GB, free: 9.906 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.9815, allocations: 0 / 1.122 GB, free: 9.906 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.86e-05/0.9815, allocations: 0 / 1.122 GB, free: 9.906 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.9815, allocations: 7.953 kB / 1.122 GB, free: 9.898 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009345/0.9824, allocations: 464.9 kB / 1.123 GB, free: 9.406 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002237/0.9827, allocations: 138.5 kB / 1.123 GB, free: 9.262 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.517e-05/0.9828, allocations: 56.98 kB / 1.123 GB, free: 9.203 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.182e-05/0.9828, allocations: 11.97 kB / 1.123 GB, free: 9.191 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.9829, allocations: 34.5 kB / 1.123 GB, free: 9.148 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.653e-06/0.9829, allocations: 0 / 1.123 GB, free: 9.148 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0005188/0.9834, allocations: 181.5 kB / 1.123 GB, free: 8.965 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.9835, allocations: 57.19 kB / 1.123 GB, free: 8.898 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003132/0.9838, allocations: 265.1 kB / 1.124 GB, free: 8.629 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.689e-05/0.9838, allocations: 29.7 kB / 1.124 GB, free: 8.594 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.984, allocations: 148.4 kB / 1.124 GB, free: 8.445 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.35e-05/0.984, allocations: 27.56 kB / 1.124 GB, free: 8.418 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.434e-05/0.984, allocations: 0 / 1.124 GB, free: 8.418 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.9842, allocations: 338.8 kB / 1.124 GB, free: 8.078 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.9843, allocations: 67.97 kB / 1.124 GB, free: 8.012 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001581/0.9845, allocations: 133.7 kB / 1.124 GB, free: 7.852 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002999/0.9848, allocations: 93.22 kB / 1.124 GB, free: 7.762 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.9848, allocations: 0 / 1.124 GB, free: 7.762 MB / 0.7292 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005241/0.9853, allocations: 249.1 kB / 1.125 GB, free: 7.512 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003831/0.9857, allocations: 0.6967 MB / 1.125 GB, free: 6.762 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.9857, allocations: 4 kB / 1.125 GB, free: 6.758 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.9858, allocations: 0 / 1.125 GB, free: 6.758 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002503/0.986, allocations: 55.89 kB / 1.125 GB, free: 6.703 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.986, allocations: 4 kB / 1.125 GB, free: 6.699 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.9862, allocations: 35.77 kB / 1.125 GB, free: 6.664 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.527e-05/0.9863, allocations: 18.33 kB / 1.125 GB, free: 6.648 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.9863, allocations: 4 kB / 1.125 GB, free: 6.645 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003799/0.9867, allocations: 160.5 kB / 1.126 GB, free: 6.488 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.9867, allocations: 4 kB / 1.126 GB, free: 6.484 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.998e-06/0.9867, allocations: 224 / 1.126 GB, free: 6.484 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002024/0.9869, allocations: 51.97 kB / 1.126 GB, free: 6.434 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.331e-06/0.9869, allocations: 7.938 kB / 1.126 GB, free: 6.426 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001644/0.9871, allocations: 19.83 kB / 1.126 GB, free: 6.406 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.819e-05/0.9871, allocations: 18.36 kB / 1.126 GB, free: 6.391 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 () * 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.0001072/0.9873, allocations: 101 kB / 1.126 GB, free: 6.285 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002653/0.9875, allocations: 141.3 kB / 1.126 GB, free: 6.141 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.459e-05/0.9876, allocations: 27.62 kB / 1.126 GB, free: 6.113 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000359/0.988, allocations: 150.9 kB / 1.126 GB, free: 5.961 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.988, allocations: 2.25 kB / 1.126 GB, free: 5.961 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.988, allocations: 0 / 1.126 GB, free: 5.961 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.988, allocations: 3.938 kB / 1.126 GB, free: 5.957 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003211/0.9883, allocations: 250.9 kB / 1.126 GB, free: 5.676 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.9883, allocations: 0 / 1.126 GB, free: 5.676 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.9885, allocations: 27.97 kB / 1.126 GB, free: 5.648 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.9885, allocations: 0 / 1.126 GB, free: 5.648 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.9885, allocations: 0 / 1.126 GB, free: 5.648 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.9885, allocations: 4 kB / 1.126 GB, free: 5.645 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.9885, allocations: 0 / 1.126 GB, free: 5.645 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003106/0.9889, allocations: 235.1 kB / 1.127 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.989, allocations: 120.7 kB / 1.127 GB, free: 5.262 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.757e-05/0.989, allocations: 0 / 1.127 GB, free: 5.262 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.9892, allocations: 11.98 kB / 1.127 GB, free: 5.25 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.445e-05/0.9892, allocations: 12.73 kB / 1.127 GB, free: 5.238 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.9892, allocations: 4 kB / 1.127 GB, free: 5.234 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002277/0.9895, allocations: 205.2 kB / 1.127 GB, free: 5.039 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.21e-07/0.9895, allocations: 4 kB / 1.127 GB, free: 5.035 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007926/0.9903, allocations: 171.7 kB / 1.127 GB, free: 4.867 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 () * 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.001379/0.9917, allocations: 1.033 MB / 1.128 GB, free: 3.82 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004513/0.9921, allocations: 245.7 kB / 1.128 GB, free: 3.582 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.9922, allocations: 0 / 1.128 GB, free: 3.582 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.734e-05/0.9922, allocations: 47.92 kB / 1.128 GB, free: 3.535 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004553/0.9927, allocations: 92.95 kB / 1.128 GB, free: 3.449 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009821/0.9937, allocations: 427.2 kB / 1.129 GB, free: 2.992 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004357/0.9941, allocations: 0.784 MB / 1.13 GB, free: 2.18 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0004524/0.9946, allocations: 126.3 kB / 1.13 GB, free: 2.066 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/0.9948, allocations: 75.41 kB / 1.13 GB, free: 1.992 MB / 0.7292 GB Notification: Performance of SimCode: time 3.01e-07/0.9948, allocations: 0 / 1.13 GB, free: 1.992 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03924/1.034, allocations: 9.305 MB / 1.139 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002054/1.034, allocations: 169.2 kB / 1.139 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.263/3.297, allocations: 0 / 1.139 GB, free: 8.703 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)