Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.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_m_flow,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow",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.001282/0.001282, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001429/0.001429, allocations: 172.7 kB / 15.95 MB, free: 208 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.381/1.381, allocations: 223.3 MB / 240 MB, free: 5.41 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.4 MB / 0.6655 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000339/0.000339, allocations: 12 kB / 0.8149 GB, free: 14.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.811/0.8113, allocations: 142.3 MB / 0.9538 GB, free: 8.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.352/1.163, allocations: 295.8 MB / 1.243 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7646/1.928, allocations: 18.89 MB / 1.261 GB, free: 75.45 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004182/1.932, allocations: 73.38 kB / 1.261 GB, free: 75.45 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004125/1.936, allocations: 0.9683 MB / 1.262 GB, free: 75.45 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01136/1.948, allocations: 3.107 MB / 1.265 GB, free: 75.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006845/1.955, allocations: 1.798 MB / 1.267 GB, free: 75.27 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01321/1.968, allocations: 6.776 MB / 1.274 GB, free: 75.25 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003941/1.972, allocations: 1.583 MB / 1.275 GB, free: 75.05 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008073/1.98, allocations: 2.564 MB / 1.278 GB, free: 75.02 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004712/1.985, allocations: 1.697 MB / 1.279 GB, free: 75.02 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000744/1.986, allocations: 92.75 kB / 1.279 GB, free: 75.02 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007403/1.993, allocations: 2.208 MB / 1.281 GB, free: 74.98 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001684/1.995, allocations: 0.7454 MB / 1.282 GB, free: 74.98 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001434/1.996, allocations: 0.5078 MB / 1.283 GB, free: 74.95 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005894/2.002, allocations: 3.338 MB / 1.286 GB, free: 74.69 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/2.002, allocations: 2.531 kB / 1.286 GB, free: 74.69 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.274e-06/2.002, allocations: 1.844 kB / 1.286 GB, free: 74.69 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001015/2.002, allocations: 0 / 1.286 GB, free: 74.69 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: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.004701/2.007, allocations: 2.575 MB / 1.288 GB, free: 73.31 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/2.007, allocations: 8.781 kB / 1.288 GB, free: 73.31 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002877/2.007, allocations: 200.6 kB / 1.289 GB, free: 73.27 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006279/2.014, allocations: 1.057 MB / 1.29 GB, free: 73.09 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004416/2.018, allocations: 1.88 MB / 1.292 GB, free: 72.62 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000383/2.018, allocations: 182.2 kB / 1.292 GB, free: 72.61 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003825/2.019, allocations: 147 kB / 1.292 GB, free: 72.61 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003663/2.022, allocations: 1.789 MB / 1.294 GB, free: 72.42 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.188e-05/2.023, allocations: 0 / 1.294 GB, free: 72.42 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001316/2.023, allocations: 57.02 kB / 1.294 GB, free: 72.42 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-05/2.023, allocations: 56.61 kB / 1.294 GB, free: 72.41 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003957/2.027, allocations: 1.708 MB / 1.295 GB, free: 72.36 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.01086/2.038, allocations: 7.998 MB / 1.303 GB, free: 68.45 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002326/2.04, allocations: 1.219 MB / 1.304 GB, free: 68.21 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001388/2.041, allocations: 0.6351 MB / 1.305 GB, free: 68.18 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001975/2.042, allocations: 109.6 kB / 1.305 GB, free: 68.08 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/2.042, allocations: 40.81 kB / 1.305 GB, free: 68.04 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001128/2.043, allocations: 200.2 kB / 1.305 GB, free: 67.98 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=77): time 9.087e-06/2.043, allocations: 3.938 kB / 1.305 GB, free: 67.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=77): time 0.004642/2.047, allocations: 1.735 MB / 1.307 GB, free: 67.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/2.047, allocations: 61.25 kB / 1.307 GB, free: 67.74 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003004/2.05, allocations: 1.807 MB / 1.309 GB, free: 67.52 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001788/2.051, allocations: 47.11 kB / 1.309 GB, free: 67.48 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007811/2.051, allocations: 0.984 MB / 1.31 GB, free: 67.18 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002769/2.052, allocations: 272.5 kB / 1.31 GB, free: 67 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.663e-05/2.052, allocations: 16.97 kB / 1.31 GB, free: 67 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.428e-05/2.052, allocations: 352.5 kB / 1.31 GB, free: 66.69 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001412/2.053, allocations: 0.5338 MB / 1.311 GB, free: 66.68 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001641/2.055, allocations: 0.9475 MB / 1.312 GB, free: 66.18 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001568/2.057, allocations: 0.6248 MB / 1.313 GB, free: 66.15 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.254e-05/2.057, allocations: 1.75 kB / 1.313 GB, free: 66.15 MB / 0.9981 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.004045/2.061, allocations: 1.614 MB / 1.314 GB, free: 65.98 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002165/2.061, allocations: 379.2 kB / 1.314 GB, free: 65.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.357e-05/2.061, allocations: 13.19 kB / 1.314 GB, free: 65.54 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.63e-05/2.061, allocations: 14.88 kB / 1.315 GB, free: 65.54 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001576/2.063, allocations: 331.5 kB / 1.315 GB, free: 65.53 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003506/2.063, allocations: 0.6159 MB / 1.315 GB, free: 64.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002531/2.065, allocations: 214.4 kB / 1.316 GB, free: 64.91 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001572/2.066, allocations: 56.5 kB / 1.316 GB, free: 64.91 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/2.066, allocations: 3.531 kB / 1.316 GB, free: 64.91 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00293/2.069, allocations: 1.302 MB / 1.317 GB, free: 64.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-05/2.069, allocations: 10.06 kB / 1.317 GB, free: 64.88 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-05/2.069, allocations: 16.28 kB / 1.317 GB, free: 64.88 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/2.07, allocations: 284.7 kB / 1.317 GB, free: 64.88 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-05/2.07, allocations: 22.05 kB / 1.317 GB, free: 64.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002335/2.072, allocations: 190.6 kB / 1.317 GB, free: 64.85 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000127/2.072, allocations: 49.28 kB / 1.318 GB, free: 64.85 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 (125): * Single equations (assignments): 122 * Array equations: 2 * 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.00116/2.074, allocations: 0.5863 MB / 1.318 GB, free: 64.65 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005665/2.074, allocations: 191.7 kB / 1.318 GB, free: 64.55 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00357/2.078, allocations: 1.342 MB / 1.32 GB, free: 64.23 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-05/2.078, allocations: 12.89 kB / 1.32 GB, free: 64.23 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/2.078, allocations: 1.859 kB / 1.32 GB, free: 64.23 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002556/2.08, allocations: 1.147 MB / 1.321 GB, free: 63.88 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.007585/2.088, allocations: 3.356 MB / 1.324 GB, free: 62.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/2.088, allocations: 7.062 kB / 1.324 GB, free: 62.59 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001231/2.089, allocations: 252.1 kB / 1.324 GB, free: 62.54 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.688e-05/2.089, allocations: 6.156 kB / 1.324 GB, free: 62.54 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.098e-05/2.089, allocations: 27.31 kB / 1.324 GB, free: 62.53 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002277/2.09, allocations: 0.5886 MB / 1.325 GB, free: 61.95 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/2.09, allocations: 11.33 kB / 1.325 GB, free: 61.94 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004435/2.094, allocations: 2.008 MB / 1.327 GB, free: 61.35 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001053/2.095, allocations: 369.9 kB / 1.327 GB, free: 61.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004995/2.096, allocations: 18.81 kB / 1.327 GB, free: 61.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0018/2.097, allocations: 183.2 kB / 1.327 GB, free: 61.04 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/2.097, allocations: 54.3 kB / 1.327 GB, free: 61.02 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.984e-05/2.098, allocations: 40.19 kB / 1.327 GB, free: 61.01 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002027/2.1, allocations: 1.224 MB / 1.329 GB, free: 60.66 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.3e-07/2.1, allocations: 0 / 1.329 GB, free: 60.66 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003318/2.103, allocations: 1.006 MB / 1.33 GB, free: 60.52 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 (79): * Single equations (assignments): 78 * 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.005456/2.108, allocations: 2.816 MB / 1.332 GB, free: 59.33 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004953/2.113, allocations: 1.955 MB / 1.334 GB, free: 59 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/2.113, allocations: 0 / 1.334 GB, free: 59 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001436/2.115, allocations: 0.5847 MB / 1.335 GB, free: 58.89 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005359/2.12, allocations: 1.047 MB / 1.336 GB, free: 58.54 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02987/2.15, allocations: 13.01 MB / 1.349 GB, free: 51.93 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001509/2.152, allocations: 1.566 MB / 1.35 GB, free: 50.41 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002886/2.155, allocations: 0.5007 MB / 1.351 GB, free: 49.91 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001434/2.156, allocations: 0.8588 MB / 1.351 GB, free: 49.7 MB / 0.9981 GB Notification: Performance of SimCode: time 1.042e-06/2.156, allocations: 2.625 kB / 1.351 GB, free: 49.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09366/2.25, allocations: 56.66 MB / 1.407 GB, free: 9.953 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002181/2.25, allocations: 264.5 kB / 1.407 GB, free: 9.59 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.22/5.47, allocations: 0 / 1.407 GB, free: 9.59 MB / 1.014 GB (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow.fmu > Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow_res.mat does not exist to compare? outputFormat=mat