Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.67/2.67, allocations: 287.3 MB / 302.3 MB, free: 8.266 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.001557/0.001557, allocations: 176.5 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.037/2.037, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001193/0.001192, allocations: 94.84 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004796/0.0004798, allocations: 12.67 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2233, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.953/1.176, allocations: 149.9 MB / 1.125 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002788/1.177, allocations: 94.83 kB / 1.125 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04993/1.227, allocations: 11.18 MB / 1.136 GB, free: 28.74 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.856e-06/1.227, allocations: 0 / 1.136 GB, free: 28.74 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.993e-05/1.227, allocations: 15.7 kB / 1.136 GB, free: 28.73 MB / 0.698 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.002009/1.229, allocations: 0.6687 MB / 1.136 GB, free: 28.19 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/1.229, allocations: 15.45 kB / 1.136 GB, free: 28.18 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.718e-05/1.229, allocations: 38.23 kB / 1.136 GB, free: 28.14 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004342/1.229, allocations: 54.45 kB / 1.136 GB, free: 28.11 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001884/1.231, allocations: 0.627 MB / 1.137 GB, free: 27.76 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/1.231, allocations: 7.031 kB / 1.137 GB, free: 27.76 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.295e-05/1.231, allocations: 11.41 kB / 1.137 GB, free: 27.76 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004986/1.232, allocations: 152.5 kB / 1.137 GB, free: 27.69 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/1.232, allocations: 0 / 1.137 GB, free: 27.69 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.409e-05/1.232, allocations: 3.438 kB / 1.137 GB, free: 27.69 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/1.232, allocations: 11.67 kB / 1.137 GB, free: 27.68 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005822/1.232, allocations: 126.8 kB / 1.137 GB, free: 27.65 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/1.234, allocations: 0.496 MB / 1.138 GB, free: 27.29 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004956/1.234, allocations: 130.4 kB / 1.138 GB, free: 27.24 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.413e-05/1.234, allocations: 3.906 kB / 1.138 GB, free: 27.24 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/1.234, allocations: 34 kB / 1.138 GB, free: 27.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.734e-06/1.234, allocations: 0 / 1.138 GB, free: 27.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.001095/1.235, allocations: 238.7 kB / 1.138 GB, free: 27.11 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/1.235, allocations: 54.84 kB / 1.138 GB, free: 27.05 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004062/1.236, allocations: 297.7 kB / 1.139 GB, free: 26.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.69e-05/1.236, allocations: 33.48 kB / 1.139 GB, free: 26.87 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/1.236, allocations: 153.3 kB / 1.139 GB, free: 26.77 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.913e-05/1.236, allocations: 26.55 kB / 1.139 GB, free: 26.75 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.494e-05/1.236, allocations: 3.188 kB / 1.139 GB, free: 26.75 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001529/1.236, allocations: 338 kB / 1.139 GB, free: 26.43 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003212/1.236, allocations: 87.11 kB / 1.139 GB, free: 26.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003654/1.237, allocations: 137.9 kB / 1.139 GB, free: 26.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003361/1.237, allocations: 79.62 kB / 1.139 GB, free: 26.29 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/1.237, allocations: 3.984 kB / 1.139 GB, free: 26.29 MB / 0.698 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000882/1.238, allocations: 254.2 kB / 1.14 GB, free: 26.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003094/1.238, allocations: 0.7037 MB / 1.14 GB, free: 25.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/1.238, allocations: 0 / 1.14 GB, free: 25.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/1.239, allocations: 11.83 kB / 1.14 GB, free: 25.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004284/1.239, allocations: 49.69 kB / 1.14 GB, free: 25.44 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.208e-06/1.239, allocations: 3.812 kB / 1.14 GB, free: 25.44 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003041/1.239, allocations: 30.91 kB / 1.14 GB, free: 25.43 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.403e-05/1.239, allocations: 22.77 kB / 1.14 GB, free: 25.42 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.516e-06/1.239, allocations: 3.812 kB / 1.14 GB, free: 25.42 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007816/1.24, allocations: 213.7 kB / 1.141 GB, free: 25.37 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/1.24, allocations: 4.031 kB / 1.141 GB, free: 25.37 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.37e-06/1.24, allocations: 7.875 kB / 1.141 GB, free: 25.36 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003264/1.241, allocations: 43.12 kB / 1.141 GB, free: 25.35 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/1.241, allocations: 3.812 kB / 1.141 GB, free: 25.35 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002583/1.241, allocations: 27.27 kB / 1.141 GB, free: 25.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.457e-05/1.241, allocations: 15.52 kB / 1.141 GB, free: 25.34 MB / 0.698 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.0002672/1.241, allocations: 239 kB / 1.141 GB, free: 25.13 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.922e-05/1.241, allocations: 23.22 kB / 1.141 GB, free: 25.12 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008168/1.242, allocations: 210 kB / 1.141 GB, free: 25.04 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/1.242, allocations: 7.797 kB / 1.141 GB, free: 25.03 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/1.242, allocations: 0 / 1.141 GB, free: 25.03 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/1.242, allocations: 96 / 1.141 GB, free: 25.03 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000362/1.242, allocations: 271.3 kB / 1.141 GB, free: 24.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/1.242, allocations: 0 / 1.141 GB, free: 24.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002728/1.243, allocations: 35.22 kB / 1.141 GB, free: 24.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/1.243, allocations: 0 / 1.141 GB, free: 24.79 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/1.243, allocations: 7.688 kB / 1.141 GB, free: 24.78 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/1.243, allocations: 0 / 1.141 GB, free: 24.78 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.243, allocations: 0 / 1.141 GB, free: 24.78 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006973/1.244, allocations: 282.5 kB / 1.142 GB, free: 24.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/1.244, allocations: 110.9 kB / 1.142 GB, free: 24.49 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.881e-05/1.244, allocations: 3.812 kB / 1.142 GB, free: 24.49 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002415/1.244, allocations: 14.39 kB / 1.142 GB, free: 24.48 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.387e-05/1.244, allocations: 11.83 kB / 1.142 GB, free: 24.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/1.244, allocations: 7.031 kB / 1.142 GB, free: 24.48 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003172/1.244, allocations: 232.2 kB / 1.142 GB, free: 24.37 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.7e-07/1.244, allocations: 0 / 1.142 GB, free: 24.37 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000961/1.245, allocations: 181.5 kB / 1.142 GB, free: 24.34 MB / 0.698 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.001876/1.247, allocations: 1.114 MB / 1.143 GB, free: 23.51 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001147/1.248, allocations: 277.2 kB / 1.144 GB, free: 23.45 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/1.248, allocations: 0 / 1.144 GB, free: 23.45 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002958/1.249, allocations: 64.23 kB / 1.144 GB, free: 23.44 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006697/1.249, allocations: 106.4 kB / 1.144 GB, free: 23.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002056/1.252, allocations: 1.925 MB / 1.146 GB, free: 21.68 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004168/1.252, allocations: 0.7753 MB / 1.146 GB, free: 20.94 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005429/1.253, allocations: 81.14 kB / 1.147 GB, free: 20.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002114/1.253, allocations: 88.77 kB / 1.147 GB, free: 20.88 MB / 0.698 GB Notification: Performance of SimCode: time 1.182e-06/1.253, allocations: 0 / 1.147 GB, free: 20.88 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03799/1.291, allocations: 10.96 MB / 1.157 GB, free: 14.95 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002494/1.291, allocations: 203.1 kB / 1.157 GB, free: 14.71 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.885/4.176, allocations: 0 / 1.157 GB, free: 14.71 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.fmu > Buildings_8.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)