Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.FlowControlled_dp,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_FlowControlled_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.FlowControlled_dp,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_FlowControlled_dp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 86.33 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.426/2.426, allocations: 390.4 MB / 0.6655 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000375/0.000375, allocations: 8.219 kB / 0.8149 GB, free: 14.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7805/0.7809, allocations: 142.3 MB / 0.9538 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_dp): time 0.3039/1.085, allocations: 295.9 MB / 1.243 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7498/1.835, allocations: 18.91 MB / 1.261 GB, free: 75.45 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003965/1.839, allocations: 72.91 kB / 1.261 GB, free: 75.45 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003933/1.843, allocations: 0.9733 MB / 1.262 GB, free: 75.45 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01083/1.853, allocations: 3.108 MB / 1.265 GB, free: 75.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007422/1.861, allocations: 1.819 MB / 1.267 GB, free: 75.26 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01506/1.876, allocations: 6.808 MB / 1.274 GB, free: 75.24 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005183/1.881, allocations: 1.595 MB / 1.275 GB, free: 75.05 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009202/1.891, allocations: 2.572 MB / 1.278 GB, free: 75.02 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005271/1.896, allocations: 1.704 MB / 1.279 GB, free: 75.01 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001096/1.897, allocations: 93.09 kB / 1.28 GB, free: 75.01 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008589/1.906, allocations: 2.209 MB / 1.282 GB, free: 74.97 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002025/1.908, allocations: 0.7496 MB / 1.282 GB, free: 74.97 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001583/1.909, allocations: 0.5224 MB / 1.283 GB, free: 74.93 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006938/1.916, allocations: 3.354 MB / 1.286 GB, free: 74.67 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.132e-05/1.916, allocations: 1.859 kB / 1.286 GB, free: 74.67 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.567e-06/1.916, allocations: 0 / 1.286 GB, free: 74.67 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.000143/1.916, allocations: 0 / 1.286 GB, free: 74.67 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 345 * Number of variables: 345 Notification: Performance of Generate backend data structure: time 0.007409/1.924, allocations: 2.584 MB / 1.289 GB, free: 73.29 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/1.924, allocations: 8.156 kB / 1.289 GB, free: 73.29 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005103/1.924, allocations: 208 kB / 1.289 GB, free: 73.24 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006375/1.931, allocations: 1.06 MB / 1.29 GB, free: 73.07 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00437/1.935, allocations: 1.898 MB / 1.292 GB, free: 72.59 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003629/1.936, allocations: 179.3 kB / 1.292 GB, free: 72.58 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003303/1.936, allocations: 147.1 kB / 1.292 GB, free: 72.58 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00383/1.94, allocations: 1.811 MB / 1.294 GB, free: 72.39 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.638e-05/1.94, allocations: 2.625 kB / 1.294 GB, free: 72.39 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001349/1.94, allocations: 55.81 kB / 1.294 GB, free: 72.39 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.032e-05/1.94, allocations: 49.58 kB / 1.294 GB, free: 72.39 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004233/1.944, allocations: 1.716 MB / 1.296 GB, free: 72.34 MB / 0.9981 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.01153/1.956, allocations: 8.064 MB / 1.304 GB, free: 68.36 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002491/1.958, allocations: 1.23 MB / 1.305 GB, free: 68.12 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001358/1.96, allocations: 0.6087 MB / 1.305 GB, free: 68.09 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002112/1.96, allocations: 120.7 kB / 1.305 GB, free: 68 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/1.96, allocations: 41.19 kB / 1.306 GB, free: 67.96 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001214/1.961, allocations: 128.7 kB / 1.306 GB, free: 67.91 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=77): time 5.01e-06/1.961, allocations: 7.875 kB / 1.306 GB, free: 67.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=77): time 0.005161/1.966, allocations: 1.926 MB / 1.308 GB, free: 67.61 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/1.966, allocations: 58.84 kB / 1.308 GB, free: 67.55 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002851/1.969, allocations: 1.815 MB / 1.309 GB, free: 67.33 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002513/1.97, allocations: 45.48 kB / 1.309 GB, free: 67.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00095/1.971, allocations: 0.9944 MB / 1.31 GB, free: 66.98 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003498/1.971, allocations: 261.1 kB / 1.311 GB, free: 66.82 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.783e-05/1.971, allocations: 21.59 kB / 1.311 GB, free: 66.82 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001311/1.971, allocations: 351.9 kB / 1.311 GB, free: 66.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001484/1.973, allocations: 0.5337 MB / 1.311 GB, free: 66.49 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001713/1.974, allocations: 0.9453 MB / 1.312 GB, free: 65.99 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001548/1.976, allocations: 0.6269 MB / 1.313 GB, free: 65.96 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/1.976, allocations: 0 / 1.313 GB, free: 65.96 MB / 0.9981 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.004637/1.981, allocations: 1.678 MB / 1.315 GB, free: 65.77 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003259/1.981, allocations: 385.5 kB / 1.315 GB, free: 65.33 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.866e-05/1.981, allocations: 10.48 kB / 1.315 GB, free: 65.33 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003896/1.981, allocations: 80.77 kB / 1.315 GB, free: 65.31 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00156/1.983, allocations: 336.6 kB / 1.315 GB, free: 65.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001145/1.984, allocations: 1.764 MB / 1.317 GB, free: 63.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002719/1.987, allocations: 226 kB / 1.317 GB, free: 63.58 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000148/1.987, allocations: 53.28 kB / 1.317 GB, free: 63.58 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/1.987, allocations: 5.625 kB / 1.317 GB, free: 63.58 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002883/1.99, allocations: 1.333 MB / 1.319 GB, free: 63.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/1.99, allocations: 10.91 kB / 1.319 GB, free: 63.54 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001627/1.99, allocations: 52.19 kB / 1.319 GB, free: 63.53 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/1.991, allocations: 287.8 kB / 1.319 GB, free: 63.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001188/1.992, allocations: 1.511 MB / 1.321 GB, free: 62.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002221/1.995, allocations: 181.6 kB / 1.321 GB, free: 62.05 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/1.995, allocations: 55.08 kB / 1.321 GB, free: 62.04 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (121): * Single equations (assignments): 116 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001285/1.996, allocations: 0.5859 MB / 1.321 GB, free: 61.81 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004837/1.997, allocations: 205.1 kB / 1.322 GB, free: 61.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003321/2, allocations: 1.367 MB / 1.323 GB, free: 61.35 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/2, allocations: 10.44 kB / 1.323 GB, free: 61.35 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/2, allocations: 0 / 1.323 GB, free: 61.35 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002562/2.002, allocations: 1.198 MB / 1.324 GB, free: 60.98 MB / 0.9981 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.006823/2.009, allocations: 3.263 MB / 1.327 GB, free: 59.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/2.009, allocations: 6.812 kB / 1.327 GB, free: 59.77 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001187/2.011, allocations: 248.6 kB / 1.327 GB, free: 59.72 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001284/2.011, allocations: 50.64 kB / 1.328 GB, free: 59.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.735e-05/2.011, allocations: 29.97 kB / 1.328 GB, free: 59.69 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005953/2.011, allocations: 1.747 MB / 1.329 GB, free: 57.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/2.011, allocations: 5.812 kB / 1.329 GB, free: 57.98 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004461/2.016, allocations: 2.063 MB / 1.331 GB, free: 57.36 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001107/2.017, allocations: 375.2 kB / 1.332 GB, free: 57.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002261/2.017, allocations: 18.09 kB / 1.332 GB, free: 57.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001415/2.019, allocations: 181.9 kB / 1.332 GB, free: 57.05 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/2.019, allocations: 58.66 kB / 1.332 GB, free: 57.03 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.884e-05/2.019, allocations: 32.44 kB / 1.332 GB, free: 57.02 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001846/2.021, allocations: 1.231 MB / 1.333 GB, free: 56.68 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.382e-06/2.021, allocations: 0 / 1.333 GB, free: 56.68 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003234/2.024, allocations: 1.033 MB / 1.334 GB, free: 56.53 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (floMacDyn.vol.dynBal.medium.Xi[1],floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m) * 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 (75): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.005487/2.029, allocations: 2.854 MB / 1.337 GB, free: 55.32 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005142/2.035, allocations: 2.113 MB / 1.339 GB, free: 54.87 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/2.035, allocations: 0 / 1.339 GB, free: 54.87 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00149/2.036, allocations: 0.6247 MB / 1.34 GB, free: 54.75 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005255/2.041, allocations: 1.064 MB / 1.341 GB, free: 54.39 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02884/2.07, allocations: 13.17 MB / 1.353 GB, free: 46.98 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001031/2.071, allocations: 1.572 MB / 1.355 GB, free: 45.46 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003033/2.074, allocations: 0.4931 MB / 1.356 GB, free: 44.96 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001352/2.076, allocations: 0.8477 MB / 1.356 GB, free: 44.75 MB / 0.9981 GB Notification: Performance of SimCode: time 1.532e-06/2.076, allocations: 0 / 1.356 GB, free: 44.75 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09229/2.168, allocations: 57.72 MB / 1.413 GB, free: 3.965 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002547/2.168, allocations: 259.4 kB / 1.413 GB, free: 3.621 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.523/5.692, allocations: 0 / 1.413 GB, free: 3.621 MB / 1.014 GB (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Movers_Validation_FlowControlled_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Movers_Validation_FlowControlled_dp.fmu > Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_dp_res.mat does not exist to compare? outputFormat=mat