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.801/1.801, allocations: 289.7 MB / 302.2 MB, free: 2.148 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.001269/0.001269, allocations: 184.7 kB / 371.6 MB, free: 3.379 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.6/1.6, allocations: 205.2 MB / 0.6309 GB, free: 11.8 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.000983/0.0009831, allocations: 92.67 kB / 0.745 GB, free: 54.4 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.632e-05/3.642e-05, allocations: 4 kB / 0.8663 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2633, allocations: 116.3 MB / 0.9799 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8056/1.069, allocations: 150.9 MB / 1.127 GB, free: 35.89 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000209/1.069, allocations: 87.94 kB / 1.127 GB, free: 35.85 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.03035/1.1, allocations: 11.15 MB / 1.138 GB, free: 29.65 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.212e-06/1.1, allocations: 0 / 1.138 GB, free: 29.65 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.398e-05/1.1, allocations: 8 kB / 1.138 GB, free: 29.64 MB / 0.7448 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.0007659/1.1, allocations: 0.544 MB / 1.139 GB, free: 29.11 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/1.1, allocations: 8.031 kB / 1.139 GB, free: 29.1 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.205e-05/1.1, allocations: 40.08 kB / 1.139 GB, free: 29.05 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000284/1.101, allocations: 44.34 kB / 1.139 GB, free: 29.02 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/1.102, allocations: 0.618 MB / 1.139 GB, free: 28.6 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/1.102, allocations: 7.562 kB / 1.14 GB, free: 28.59 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.185e-05/1.102, allocations: 14.67 kB / 1.14 GB, free: 28.58 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002248/1.102, allocations: 137.3 kB / 1.14 GB, free: 28.5 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/1.102, allocations: 5.859 kB / 1.14 GB, free: 28.49 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/1.102, allocations: 0 / 1.14 GB, free: 28.49 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/1.102, allocations: 0.5 kB / 1.14 GB, free: 28.49 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001599/1.102, allocations: 88.83 kB / 1.14 GB, free: 28.44 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000766/1.103, allocations: 0.4976 MB / 1.14 GB, free: 28.04 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/1.103, allocations: 101.4 kB / 1.14 GB, free: 27.97 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.829e-05/1.103, allocations: 47.47 kB / 1.14 GB, free: 27.94 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/1.104, allocations: 4.953 kB / 1.14 GB, free: 27.93 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.473e-05/1.104, allocations: 32 kB / 1.14 GB, free: 27.89 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/1.104, allocations: 0.75 kB / 1.14 GB, free: 27.89 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0002964/1.104, allocations: 138.4 kB / 1.141 GB, free: 27.79 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.419e-05/1.104, allocations: 55.41 kB / 1.141 GB, free: 27.72 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002641/1.104, allocations: 298.7 kB / 1.141 GB, free: 27.5 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/1.104, allocations: 25.7 kB / 1.141 GB, free: 27.47 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.68e-05/1.104, allocations: 152 kB / 1.141 GB, free: 27.38 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.821e-05/1.104, allocations: 29.06 kB / 1.141 GB, free: 27.35 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.132e-05/1.104, allocations: 0 / 1.141 GB, free: 27.35 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.313e-05/1.104, allocations: 342.3 kB / 1.141 GB, free: 27.03 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.416e-05/1.104, allocations: 53.16 kB / 1.141 GB, free: 27 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/1.105, allocations: 120.8 kB / 1.142 GB, free: 26.88 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.985e-05/1.105, allocations: 55.05 kB / 1.142 GB, free: 26.84 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/1.105, allocations: 4.031 kB / 1.142 GB, free: 26.84 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003124/1.105, allocations: 219.8 kB / 1.142 GB, free: 26.68 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001421/1.105, allocations: 0.7003 MB / 1.143 GB, free: 25.94 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/1.105, allocations: 4 kB / 1.143 GB, free: 25.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/1.105, allocations: 4 kB / 1.143 GB, free: 25.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000239/1.105, allocations: 54.72 kB / 1.143 GB, free: 25.89 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/1.105, allocations: 1.125 kB / 1.143 GB, free: 25.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001671/1.106, allocations: 30.69 kB / 1.143 GB, free: 25.86 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.991e-05/1.106, allocations: 20.53 kB / 1.143 GB, free: 25.85 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.001e-06/1.106, allocations: 4 kB / 1.143 GB, free: 25.84 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002779/1.106, allocations: 175.7 kB / 1.143 GB, free: 25.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-06/1.106, allocations: 0.6562 kB / 1.143 GB, free: 25.73 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.817e-06/1.106, allocations: 4 kB / 1.143 GB, free: 25.73 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/1.106, allocations: 46.09 kB / 1.143 GB, free: 25.7 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/1.106, allocations: 8.219 kB / 1.143 GB, free: 25.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/1.106, allocations: 27.47 kB / 1.143 GB, free: 25.67 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/1.106, allocations: 14.02 kB / 1.143 GB, free: 25.66 MB / 0.7448 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 6.134e-05/1.106, allocations: 112.5 kB / 1.143 GB, free: 25.54 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.152e-05/1.107, allocations: 32.53 kB / 1.143 GB, free: 25.52 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003136/1.107, allocations: 163.3 kB / 1.143 GB, free: 25.41 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/1.107, allocations: 4 kB / 1.143 GB, free: 25.41 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/1.107, allocations: 1.969 kB / 1.143 GB, free: 25.41 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/1.107, allocations: 0.75 kB / 1.143 GB, free: 25.41 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002813/1.107, allocations: 268.6 kB / 1.143 GB, free: 25.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/1.107, allocations: 0 / 1.143 GB, free: 25.16 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/1.107, allocations: 34.11 kB / 1.143 GB, free: 25.14 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/1.107, allocations: 0 / 1.143 GB, free: 25.14 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/1.107, allocations: 5.172 kB / 1.143 GB, free: 25.14 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/1.107, allocations: 0.75 kB / 1.143 GB, free: 25.14 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/1.107, allocations: 0.5625 kB / 1.143 GB, free: 25.14 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002085/1.108, allocations: 234.9 kB / 1.144 GB, free: 24.93 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.827e-05/1.108, allocations: 118.1 kB / 1.144 GB, free: 24.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.034e-05/1.108, allocations: 0 / 1.144 GB, free: 24.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/1.108, allocations: 18.84 kB / 1.144 GB, free: 24.8 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.288e-05/1.108, allocations: 6.766 kB / 1.144 GB, free: 24.79 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/1.108, allocations: 5.734 kB / 1.144 GB, free: 24.79 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001813/1.108, allocations: 237.4 kB / 1.144 GB, free: 24.62 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.108, allocations: 0 / 1.144 GB, free: 24.62 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007075/1.109, allocations: 180.2 kB / 1.144 GB, free: 24.46 MB / 0.7448 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.0008836/1.11, allocations: 1.066 MB / 1.145 GB, free: 23.47 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003726/1.11, allocations: 229.9 kB / 1.146 GB, free: 23.32 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.11, allocations: 4.125 kB / 1.146 GB, free: 23.31 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.175e-05/1.11, allocations: 48.84 kB / 1.146 GB, free: 23.28 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/1.111, allocations: 91.23 kB / 1.146 GB, free: 23.23 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007732/1.111, allocations: 443.5 kB / 1.146 GB, free: 22.87 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002114/1.112, allocations: 0.7751 MB / 1.147 GB, free: 22.11 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004212/1.112, allocations: 124 kB / 1.147 GB, free: 22.03 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001353/1.112, allocations: 90.05 kB / 1.147 GB, free: 22 MB / 0.7448 GB Notification: Performance of SimCode: time 2.61e-07/1.112, allocations: 0 / 1.147 GB, free: 22 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02839/1.141, allocations: 11.79 MB / 1.159 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002436/1.141, allocations: 166.9 kB / 1.159 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.315/3.456, allocations: 0 / 1.159 GB, free: 15.02 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)