Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FMI_Validation_HeaterFanPressureDriven",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FMI_Validation_HeaterFanPressureDriven",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.409/1.409, allocations: 251.9 MB / 266.9 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001184/0.001184, allocations: 179.5 kB / 326.5 MB, free: 2.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.877/1.877, allocations: 205.4 MB / 0.5775 GB, free: 20.24 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001001/0.001001, allocations: 90.28 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003644/0.0003647, allocations: 9.75 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2502, allocations: 106.3 MB / 0.9001 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven): time 0.8932/1.143, allocations: 253.6 MB / 1.148 GB, free: 2.578 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.04387/1.187, allocations: 26.64 MB / 1.174 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004325/1.192, allocations: 63.72 kB / 1.174 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.005142/1.197, allocations: 1.048 MB / 1.175 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01344/1.21, allocations: 2.912 MB / 1.178 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.01268/1.223, allocations: 2.897 MB / 1.181 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.01018/1.233, allocations: 2.835 MB / 1.183 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003342/1.237, allocations: 1.42 MB / 1.185 GB, free: 6 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004905/1.242, allocations: 1.542 MB / 1.186 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002567/1.244, allocations: 0.919 MB / 1.187 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0004026/1.245, allocations: 65.44 kB / 1.187 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005178/1.25, allocations: 1.559 MB / 1.189 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0008274/1.251, allocations: 448.5 kB / 1.189 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.001138/1.252, allocations: 464.9 kB / 1.19 GB, free: 3.848 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.006153/1.258, allocations: 3.167 MB / 1.193 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/1.258, allocations: 0 / 1.193 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.984e-06/1.258, allocations: 0 / 1.193 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001032/1.258, allocations: 0 / 1.193 GB, free: 1.598 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.005095/1.263, allocations: 2.046 MB / 1.195 GB, free: 60 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.051e-05/1.263, allocations: 13.77 kB / 1.195 GB, free: 56 kB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004883/1.264, allocations: 186.6 kB / 1.195 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005233/1.269, allocations: 0.84 MB / 1.196 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00465/1.274, allocations: 1.922 MB / 1.198 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006949/1.275, allocations: 234.5 kB / 1.198 GB, free: 13 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002961/1.275, allocations: 139.9 kB / 1.198 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004062/1.279, allocations: 1.673 MB / 1.2 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.527e-05/1.279, allocations: 2.625 kB / 1.2 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001729/1.279, allocations: 52 kB / 1.2 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.337e-05/1.279, allocations: 50.52 kB / 1.2 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004499/1.284, allocations: 1.512 MB / 1.201 GB, free: 9.527 MB / 0.7292 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01467/1.298, allocations: 7.546 MB / 1.209 GB, free: 1.523 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003955/1.302, allocations: 1.172 MB / 1.21 GB, free: 320 kB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 8.823e-05/1.303, allocations: 14.81 kB / 1.21 GB, free: 308 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/1.303, allocations: 35.19 kB / 1.21 GB, free: 264 kB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001138/1.304, allocations: 162.8 kB / 1.21 GB, free: 100 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=38): time 3.587e-06/1.304, allocations: 0 / 1.21 GB, free: 100 kB / 0.7292 GB Notification: Performance of matching and sorting (n=38): time 0.004387/1.308, allocations: 1.315 MB / 1.211 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/1.308, allocations: 58.88 kB / 1.211 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002497/1.311, allocations: 1.584 MB / 1.213 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.000118/1.311, allocations: 41.69 kB / 1.213 GB, free: 13.08 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008089/1.312, allocations: 0.8262 MB / 1.214 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.000152/1.312, allocations: 130.1 kB / 1.214 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.82e-05/1.312, allocations: 12 kB / 1.214 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001613/1.312, allocations: 330 kB / 1.214 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001308/1.313, allocations: 429 kB / 1.214 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001449/1.315, allocations: 0.6612 MB / 1.215 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001317/1.316, allocations: 471.3 kB / 1.216 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/1.316, allocations: 4 kB / 1.216 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003315/1.32, allocations: 1.189 MB / 1.217 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.001221/1.321, allocations: 2.545 MB / 1.219 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.97e-05/1.321, allocations: 4 kB / 1.219 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.349e-05/1.321, allocations: 15.95 kB / 1.219 GB, free: 6.211 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001313/1.322, allocations: 242.2 kB / 1.219 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004849/1.323, allocations: 0.6044 MB / 1.22 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001976/1.325, allocations: 196.4 kB / 1.22 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.113e-05/1.325, allocations: 34.61 kB / 1.22 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/1.325, allocations: 4 kB / 1.22 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002531/1.327, allocations: 0.9615 MB / 1.221 GB, free: 4.207 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/1.327, allocations: 11.03 kB / 1.221 GB, free: 4.199 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/1.327, allocations: 12 kB / 1.221 GB, free: 4.188 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009279/1.328, allocations: 207.5 kB / 1.221 GB, free: 3.992 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.287e-05/1.328, allocations: 15.09 kB / 1.221 GB, free: 3.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00168/1.33, allocations: 183 kB / 1.222 GB, free: 3.805 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.179e-05/1.33, allocations: 39.91 kB / 1.222 GB, free: 3.766 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (73): * Single equations (assignments): 71 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00121/1.331, allocations: 0.5266 MB / 1.222 GB, free: 3.23 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003443/1.332, allocations: 158 kB / 1.222 GB, free: 3.074 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003064/1.335, allocations: 0.9939 MB / 1.223 GB, free: 2.07 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/1.335, allocations: 4 kB / 1.223 GB, free: 2.066 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/1.335, allocations: 0 / 1.223 GB, free: 2.066 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/1.335, allocations: 3.953 kB / 1.223 GB, free: 2.062 MB / 0.7448 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00608/1.341, allocations: 2.501 MB / 1.226 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/1.341, allocations: 0 / 1.226 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009654/1.342, allocations: 179.9 kB / 1.226 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-05/1.342, allocations: 4 kB / 1.226 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.073e-05/1.342, allocations: 15.98 kB / 1.226 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004013/1.342, allocations: 0.5938 MB / 1.227 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/1.342, allocations: 8.031 kB / 1.227 GB, free: 14.65 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003228/1.346, allocations: 1.208 MB / 1.228 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009971/1.347, allocations: 322.9 kB / 1.228 GB, free: 13.01 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000276/1.347, allocations: 15.95 kB / 1.228 GB, free: 12.99 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001249/1.348, allocations: 151.8 kB / 1.228 GB, free: 12.84 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.379e-05/1.348, allocations: 31.91 kB / 1.228 GB, free: 12.81 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.047e-05/1.348, allocations: 23.97 kB / 1.228 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001837/1.35, allocations: 1.092 MB / 1.229 GB, free: 11.71 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.71e-07/1.35, allocations: 0 / 1.229 GB, free: 11.71 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.002313/1.352, allocations: 0.7443 MB / 1.23 GB, free: 10.96 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004175/1.357, allocations: 2.389 MB / 1.232 GB, free: 8.496 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.004511/1.361, allocations: 1.44 MB / 1.234 GB, free: 7.059 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/1.361, allocations: 0 / 1.234 GB, free: 7.059 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001341/1.363, allocations: 436.1 kB / 1.234 GB, free: 6.633 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004369/1.367, allocations: 0.8909 MB / 1.235 GB, free: 5.75 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01315/1.38, allocations: 8.985 MB / 1.244 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001161/1.381, allocations: 1.371 MB / 1.245 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.002306/1.384, allocations: 374.2 kB / 1.246 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001118/1.385, allocations: 0.6671 MB / 1.246 GB, free: 9.977 MB / 0.7761 GB Notification: Performance of SimCode: time 1.453e-06/1.385, allocations: 0 / 1.246 GB, free: 9.977 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08883/1.474, allocations: 45.57 MB / 1.291 GB, free: 12.81 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002057/1.474, allocations: 226.8 kB / 1.291 GB, free: 12.57 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.349/4.823, allocations: 4 kB / 1.291 GB, free: 12.56 MB / 0.823 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FMI_Validation_HeaterFanPressureDriven_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FMI_Validation_HeaterFanPressureDriven.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.HeaterFanPressureDriven.pipe 2>&1)