Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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) 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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.217/2.217, allocations: 387.1 MB / 399.7 MB, free: 9.508 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001783/0.001784, allocations: 183.9 kB / 492.3 MB, free: 0.6328 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.578/1.578, allocations: 221.3 MB / 0.7871 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009552/0.0009551, allocations: 103.5 kB / 0.9267 GB, free: 14.04 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.579e-05/3.592e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.277, allocations: 142.4 MB / 1.212 GB, free: 38.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.004/1.281, allocations: 161.2 MB / 1.37 GB, free: 19.14 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002559/1.281, allocations: 89.64 kB / 1.37 GB, free: 19.14 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03414/1.316, allocations: 11.3 MB / 1.381 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.563e-06/1.316, allocations: 0 / 1.381 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.793e-05/1.316, allocations: 3.75 kB / 1.381 GB, free: 32.98 MB / 0.8386 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.001015/1.317, allocations: 0.5267 MB / 1.382 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/1.317, allocations: 11.41 kB / 1.382 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.942e-05/1.317, allocations: 37.89 kB / 1.382 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009878/1.318, allocations: 144 kB / 1.382 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001637/1.319, allocations: 0.6586 MB / 1.382 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/1.319, allocations: 11.5 kB / 1.382 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.312e-05/1.32, allocations: 10.56 kB / 1.382 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002549/1.32, allocations: 136.1 kB / 1.383 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/1.32, allocations: 0 / 1.383 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.209e-05/1.32, allocations: 11.8 kB / 1.383 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/1.32, allocations: 3.938 kB / 1.383 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001781/1.32, allocations: 97.92 kB / 1.383 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009562/1.321, allocations: 0.5297 MB / 1.383 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/1.321, allocations: 112.8 kB / 1.383 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.946e-05/1.321, allocations: 42.8 kB / 1.383 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.874e-05/1.321, allocations: 3.984 kB / 1.383 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/1.321, allocations: 38.41 kB / 1.383 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.543e-06/1.321, allocations: 0 / 1.383 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0003454/1.322, allocations: 152.4 kB / 1.384 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/1.322, allocations: 55.39 kB / 1.384 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002888/1.322, allocations: 294.5 kB / 1.384 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/1.322, allocations: 29.14 kB / 1.384 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.984e-05/1.322, allocations: 153.6 kB / 1.384 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.306e-05/1.322, allocations: 27.14 kB / 1.384 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.341e-05/1.322, allocations: 7.25 kB / 1.384 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000119/1.322, allocations: 344.9 kB / 1.384 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.367e-05/1.322, allocations: 51.86 kB / 1.384 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/1.323, allocations: 119.5 kB / 1.385 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/1.323, allocations: 72.72 kB / 1.385 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/1.323, allocations: 0 / 1.385 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003494/1.323, allocations: 226.9 kB / 1.385 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002353/1.323, allocations: 0.7089 MB / 1.386 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/1.323, allocations: 0 / 1.386 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/1.323, allocations: 3.844 kB / 1.386 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002868/1.324, allocations: 62.48 kB / 1.386 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/1.324, allocations: 11.88 kB / 1.386 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000234/1.324, allocations: 30.83 kB / 1.386 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-05/1.324, allocations: 19.36 kB / 1.386 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.597e-06/1.324, allocations: 7.844 kB / 1.386 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003/1.324, allocations: 178.8 kB / 1.386 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/1.324, allocations: 3.875 kB / 1.386 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.639e-06/1.324, allocations: 0 / 1.386 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/1.325, allocations: 54.36 kB / 1.386 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/1.325, allocations: 4 kB / 1.386 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002089/1.325, allocations: 37.91 kB / 1.386 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.477e-05/1.325, allocations: 11.66 kB / 1.386 GB, free: 29.71 MB / 0.8386 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 8.8e-05/1.325, allocations: 115.5 kB / 1.386 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.582e-05/1.325, allocations: 27.06 kB / 1.386 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003485/1.325, allocations: 179.8 kB / 1.386 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/1.325, allocations: 0 / 1.386 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/1.325, allocations: 0 / 1.386 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/1.325, allocations: 4.031 kB / 1.386 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002722/1.326, allocations: 289.8 kB / 1.387 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/1.326, allocations: 3.984 kB / 1.387 GB, free: 29.26 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001926/1.326, allocations: 34.91 kB / 1.387 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/1.326, allocations: 0 / 1.387 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/1.326, allocations: 7.719 kB / 1.387 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/1.326, allocations: 3.938 kB / 1.387 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/1.326, allocations: 0 / 1.387 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000249/1.326, allocations: 251.7 kB / 1.387 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.932e-05/1.326, allocations: 115.1 kB / 1.387 GB, free: 28.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.508e-05/1.326, allocations: 3.938 kB / 1.387 GB, free: 28.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/1.326, allocations: 15.36 kB / 1.387 GB, free: 28.96 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.578e-05/1.327, allocations: 11.11 kB / 1.387 GB, free: 28.95 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/1.327, allocations: 11.8 kB / 1.387 GB, free: 28.95 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002115/1.327, allocations: 235.4 kB / 1.387 GB, free: 28.85 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.9e-07/1.327, allocations: 0 / 1.387 GB, free: 28.85 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007658/1.328, allocations: 176 kB / 1.387 GB, free: 28.82 MB / 0.8386 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.001241/1.329, allocations: 1.072 MB / 1.388 GB, free: 28.01 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004178/1.329, allocations: 246.3 kB / 1.389 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/1.329, allocations: 3.75 kB / 1.389 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.892e-05/1.329, allocations: 55.3 kB / 1.389 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004369/1.33, allocations: 93.44 kB / 1.389 GB, free: 27.93 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009679/1.331, allocations: 437.1 kB / 1.389 GB, free: 27.68 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003938/1.331, allocations: 0.7754 MB / 1.39 GB, free: 26.95 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004757/1.332, allocations: 132.2 kB / 1.39 GB, free: 26.88 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001485/1.332, allocations: 81.45 kB / 1.39 GB, free: 26.86 MB / 0.8386 GB Notification: Performance of SimCode: time 4.51e-07/1.332, allocations: 3.844 kB / 1.39 GB, free: 26.86 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02838/1.36, allocations: 11.9 MB / 1.402 GB, free: 19.76 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001875/1.36, allocations: 165.5 kB / 1.402 GB, free: 19.54 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.193/3.553, allocations: 0 / 1.402 GB, free: 19.54 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.fmu > Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface_res.mat does not exist to compare? outputFormat=mat