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.0008496/0.0008497, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009115/0.0009115, allocations: 177.3 kB / 15.95 MB, free: 216 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.363/1.363, allocations: 223.2 MB / 239.9 MB, free: 5.438 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.431/2.431, allocations: 390.3 MB / 0.6653 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003649/0.000365, allocations: 8 kB / 0.8146 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8/0.8003, allocations: 142.3 MB / 0.9536 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_dp): time 0.3252/1.126, allocations: 262.2 MB / 1.21 GB, free: 9.34 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0365/1.162, allocations: 18.53 MB / 1.228 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004466/1.167, allocations: 75.5 kB / 1.228 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.005249/1.172, allocations: 1.209 MB / 1.229 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01413/1.186, allocations: 3.864 MB / 1.233 GB, free: 1.617 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.007428/1.194, allocations: 2.134 MB / 1.235 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007833/1.201, allocations: 3.458 MB / 1.238 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00335/1.205, allocations: 1.623 MB / 1.24 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006351/1.211, allocations: 2.262 MB / 1.242 GB, free: 8.125 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002806/1.214, allocations: 1.155 MB / 1.243 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005169/1.215, allocations: 92 kB / 1.243 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005531/1.22, allocations: 1.864 MB / 1.245 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001195/1.221, allocations: 0.6737 MB / 1.246 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001203/1.223, allocations: 0.516 MB / 1.246 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005696/1.228, allocations: 3.145 MB / 1.249 GB, free: 0.6562 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/1.228, allocations: 0 / 1.249 GB, free: 0.6562 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.124e-06/1.228, allocations: 0 / 1.249 GB, free: 0.6562 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.644e-05/1.228, allocations: 4 kB / 1.249 GB, free: 0.6523 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.68/1.908, allocations: 2.523 MB / 1.252 GB, free: 287.7 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/1.909, allocations: 9.484 kB / 1.252 GB, free: 287.7 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007781/1.909, allocations: 200.5 kB / 1.252 GB, free: 287.7 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00774/1.917, allocations: 1.062 MB / 1.253 GB, free: 287.5 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006445/1.924, allocations: 1.966 MB / 1.255 GB, free: 286.6 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005182/1.924, allocations: 182.6 kB / 1.255 GB, free: 286.5 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00055/1.925, allocations: 148.7 kB / 1.255 GB, free: 286.5 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004434/1.929, allocations: 1.774 MB / 1.257 GB, free: 285.8 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.56e-05/1.929, allocations: 4.906 kB / 1.257 GB, free: 285.8 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001485/1.929, allocations: 57.59 kB / 1.257 GB, free: 285.7 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.837e-05/1.929, allocations: 51.75 kB / 1.257 GB, free: 285.7 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005166/1.935, allocations: 1.688 MB / 1.259 GB, free: 285 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.01359/1.948, allocations: 7.999 MB / 1.267 GB, free: 278.2 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002704/1.951, allocations: 1.2 MB / 1.268 GB, free: 277.6 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.175e-05/1.951, allocations: 21.34 kB / 1.268 GB, free: 277.6 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/1.951, allocations: 40.28 kB / 1.268 GB, free: 277.5 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001273/1.952, allocations: 141.8 kB / 1.268 GB, free: 277.4 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=77): time 3.146e-06/1.952, allocations: 0 / 1.268 GB, free: 277.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=77): time 0.006223/1.959, allocations: 1.889 MB / 1.27 GB, free: 276.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/1.959, allocations: 63.06 kB / 1.27 GB, free: 276.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003364/1.962, allocations: 1.789 MB / 1.272 GB, free: 275.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002126/1.962, allocations: 48.7 kB / 1.272 GB, free: 275.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008281/1.963, allocations: 0.9855 MB / 1.273 GB, free: 274.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002798/1.963, allocations: 273.2 kB / 1.273 GB, free: 274.3 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.357e-05/1.964, allocations: 20.7 kB / 1.273 GB, free: 274.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001105/1.964, allocations: 343.8 kB / 1.273 GB, free: 273.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001519/1.965, allocations: 0.5221 MB / 1.274 GB, free: 273.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001678/1.967, allocations: 0.9314 MB / 1.275 GB, free: 272.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001609/1.968, allocations: 0.6086 MB / 1.275 GB, free: 272.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.025e-05/1.968, allocations: 6.281 kB / 1.275 GB, free: 272.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.004454/1.973, allocations: 1.655 MB / 1.277 GB, free: 271.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007115/1.974, allocations: 3.96 MB / 1.281 GB, free: 267.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.612e-05/1.974, allocations: 9.094 kB / 1.281 GB, free: 267.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003944/1.974, allocations: 76.2 kB / 1.281 GB, free: 267.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001654/1.976, allocations: 344 kB / 1.281 GB, free: 267.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008029/1.977, allocations: 1.77 MB / 1.283 GB, free: 265.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002728/1.979, allocations: 207.7 kB / 1.283 GB, free: 265.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001445/1.979, allocations: 59.97 kB / 1.283 GB, free: 265.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/1.98, allocations: 7.375 kB / 1.283 GB, free: 265.5 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003026/1.983, allocations: 1.313 MB / 1.284 GB, free: 264.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.167e-05/1.983, allocations: 9.25 kB / 1.284 GB, free: 264.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001734/1.983, allocations: 55.27 kB / 1.284 GB, free: 264.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/1.984, allocations: 284.6 kB / 1.285 GB, free: 264.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001236/1.985, allocations: 1.523 MB / 1.286 GB, free: 263.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002388/1.988, allocations: 193.7 kB / 1.286 GB, free: 263.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001492/1.988, allocations: 52.55 kB / 1.286 GB, free: 263.1 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.001373/1.989, allocations: 0.5856 MB / 1.287 GB, free: 262.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000663/1.99, allocations: 194 kB / 1.287 GB, free: 262.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004027/1.994, allocations: 1.368 MB / 1.289 GB, free: 261.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/1.994, allocations: 11 kB / 1.289 GB, free: 261.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/1.994, allocations: 1.219 kB / 1.289 GB, free: 261.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002996/1.997, allocations: 1.161 MB / 1.29 GB, free: 261.2 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.007866/2.005, allocations: 3.261 MB / 1.293 GB, free: 259.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.126e-06/2.005, allocations: 0 / 1.293 GB, free: 259.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001265/2.006, allocations: 261.2 kB / 1.293 GB, free: 259 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001463/2.006, allocations: 49.45 kB / 1.293 GB, free: 259 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.273e-05/2.006, allocations: 35.78 kB / 1.293 GB, free: 258.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006329/2.007, allocations: 1.739 MB / 1.295 GB, free: 257.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/2.007, allocations: 11.91 kB / 1.295 GB, free: 257.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004791/2.012, allocations: 2.12 MB / 1.297 GB, free: 255.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001299/2.013, allocations: 388.2 kB / 1.297 GB, free: 255.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007024/2.014, allocations: 15.97 kB / 1.297 GB, free: 255.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002108/2.016, allocations: 189.8 kB / 1.298 GB, free: 255.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/2.016, allocations: 48 kB / 1.298 GB, free: 255.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.433e-05/2.016, allocations: 39.34 kB / 1.298 GB, free: 255.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002149/2.018, allocations: 1.215 MB / 1.299 GB, free: 254.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.6e-07/2.018, allocations: 0 / 1.299 GB, free: 254.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004639/2.023, allocations: 1.021 MB / 1.3 GB, free: 253.5 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.006019/2.029, allocations: 3.3 MB / 1.303 GB, free: 250.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005363/2.034, allocations: 2.079 MB / 1.305 GB, free: 248.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/2.034, allocations: 0 / 1.305 GB, free: 248.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001541/2.036, allocations: 0.5974 MB / 1.306 GB, free: 247.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005382/2.041, allocations: 1.05 MB / 1.307 GB, free: 246.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01235/2.054, allocations: 11.96 MB / 1.318 GB, free: 234.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001446/2.055, allocations: 1.621 MB / 1.32 GB, free: 232.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002858/2.058, allocations: 0.5008 MB / 1.32 GB, free: 232.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001355/2.06, allocations: 0.8506 MB / 1.321 GB, free: 231.3 MB / 0.9981 GB Notification: Performance of SimCode: time 1.132e-06/2.06, allocations: 0 / 1.321 GB, free: 231.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08466/2.144, allocations: 56.15 MB / 1.376 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001848/2.144, allocations: 261 kB / 1.376 GB, free: 175.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.145/5.289, allocations: 0 / 1.376 GB, free: 175.5 MB / 0.9981 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