Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="Buildings_8_0_0_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/Buildings 8.0.0/package.mo): time 1.685/1.685, allocations: 287.4 MB / 302.6 MB, free: 8.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001234/0.001234, allocations: 189.2 kB / 371.1 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.469/1.469, allocations: 205.4 MB / 0.6298 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007409/0.0007409, allocations: 86.3 kB / 0.7431 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005673/0.0005673, allocations: 11.52 kB / 0.8662 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2104, allocations: 115.3 MB / 0.9787 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.7793/0.9897, allocations: 296 MB / 1.268 GB, free: 3.598 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.03041/1.02, allocations: 21.5 MB / 1.289 GB, free: 14.05 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004266/1.025, allocations: 75.44 kB / 1.289 GB, free: 13.98 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.003566/1.028, allocations: 0.9628 MB / 1.29 GB, free: 13.01 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.01032/1.038, allocations: 3.108 MB / 1.293 GB, free: 9.891 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.005053/1.044, allocations: 1.769 MB / 1.295 GB, free: 8.137 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.009306/1.053, allocations: 6.803 MB / 1.301 GB, free: 1.316 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004195/1.057, allocations: 1.774 MB / 1.303 GB, free: 15.5 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007747/1.065, allocations: 2.556 MB / 1.305 GB, free: 12.93 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003753/1.069, allocations: 1.692 MB / 1.307 GB, free: 11.23 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0008859/1.07, allocations: 92 kB / 1.307 GB, free: 11.14 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006865/1.076, allocations: 2.214 MB / 1.309 GB, free: 8.922 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.001684/1.078, allocations: 0.732 MB / 1.31 GB, free: 8.188 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.001584/1.08, allocations: 0.5121 MB / 1.311 GB, free: 7.668 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.006554/1.086, allocations: 3.332 MB / 1.314 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/1.086, allocations: 4 kB / 1.314 GB, free: 4.324 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.006e-06/1.086, allocations: 0 / 1.314 GB, free: 4.324 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001576/1.087, allocations: 0 / 1.314 GB, free: 4.324 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: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.005989/1.093, allocations: 2.536 MB / 1.316 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/1.093, allocations: 15.97 kB / 1.316 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005269/1.093, allocations: 194.6 kB / 1.317 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005334/1.099, allocations: 0.8788 MB / 1.317 GB, free: 0.6289 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004037/1.103, allocations: 1.807 MB / 1.319 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004055/1.103, allocations: 178.6 kB / 1.319 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003558/1.103, allocations: 159.8 kB / 1.319 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003714/1.107, allocations: 1.713 MB / 1.321 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.036e-05/1.107, allocations: 3.906 kB / 1.321 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001669/1.107, allocations: 52 kB / 1.321 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.98e-05/1.107, allocations: 58.59 kB / 1.321 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003751/1.111, allocations: 1.497 MB / 1.323 GB, free: 11.03 MB / 0.8542 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.01237/1.124, allocations: 7.836 MB / 1.33 GB, free: 2.598 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00237/1.126, allocations: 1.158 MB / 1.331 GB, free: 1.395 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001314/1.127, allocations: 0.5688 MB / 1.332 GB, free: 0.8242 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002152/1.128, allocations: 109.7 kB / 1.332 GB, free: 0.6992 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.183e-05/1.128, allocations: 39.22 kB / 1.332 GB, free: 0.6523 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001195/1.129, allocations: 199.1 kB / 1.332 GB, free: 468 kB / 0.8542 GB Notification: Performance of pre-optimization done (n=77): time 6.503e-06/1.129, allocations: 0 / 1.332 GB, free: 468 kB / 0.8542 GB Notification: Performance of matching and sorting (n=77): time 0.004263/1.133, allocations: 1.538 MB / 1.334 GB, free: 14.91 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/1.133, allocations: 68 kB / 1.334 GB, free: 14.83 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002928/1.136, allocations: 1.796 MB / 1.336 GB, free: 13 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001279/1.136, allocations: 45.7 kB / 1.336 GB, free: 12.95 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008136/1.137, allocations: 0.9762 MB / 1.337 GB, free: 11.96 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002624/1.137, allocations: 272 kB / 1.337 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.081e-05/1.137, allocations: 20 kB / 1.337 GB, free: 11.68 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001341/1.138, allocations: 345.9 kB / 1.337 GB, free: 11.33 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001198/1.139, allocations: 478 kB / 1.338 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001493/1.14, allocations: 0.8976 MB / 1.339 GB, free: 9.781 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00253/1.143, allocations: 1.284 MB / 1.34 GB, free: 8.367 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.114e-05/1.143, allocations: 4 kB / 1.34 GB, free: 8.363 MB / 0.8698 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003421/1.146, allocations: 1.495 MB / 1.341 GB, free: 6.859 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002604/1.147, allocations: 373.9 kB / 1.342 GB, free: 6.359 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.797e-05/1.147, allocations: 12 kB / 1.342 GB, free: 6.348 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.039e-05/1.147, allocations: 16 kB / 1.342 GB, free: 6.332 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001407/1.148, allocations: 307.5 kB / 1.342 GB, free: 6.031 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000367/1.148, allocations: 0.6133 MB / 1.343 GB, free: 5.395 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001866/1.15, allocations: 180 kB / 1.343 GB, free: 5.223 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/1.15, allocations: 51.98 kB / 1.343 GB, free: 5.172 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.077e-06/1.15, allocations: 6.5 kB / 1.343 GB, free: 5.168 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002208/1.153, allocations: 1.175 MB / 1.344 GB, free: 3.992 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.876e-05/1.153, allocations: 8 kB / 1.344 GB, free: 3.984 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/1.153, allocations: 19.94 kB / 1.344 GB, free: 3.965 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00095/1.154, allocations: 263.9 kB / 1.344 GB, free: 3.707 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.131e-05/1.154, allocations: 23.92 kB / 1.344 GB, free: 3.684 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001589/1.155, allocations: 157 kB / 1.344 GB, free: 3.531 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.29e-05/1.155, allocations: 44 kB / 1.344 GB, free: 3.488 MB / 0.8698 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.001148/1.157, allocations: 0.5923 MB / 1.345 GB, free: 2.887 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004156/1.157, allocations: 189.6 kB / 1.345 GB, free: 2.699 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002885/1.16, allocations: 1.197 MB / 1.346 GB, free: 1.492 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/1.16, allocations: 12 kB / 1.346 GB, free: 1.48 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/1.16, allocations: 3.984 kB / 1.346 GB, free: 1.477 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002159/1.162, allocations: 1.019 MB / 1.347 GB, free: 436 kB / 0.8698 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.005575/1.168, allocations: 3.054 MB / 1.35 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/1.168, allocations: 4 kB / 1.35 GB, free: 13.26 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001104/1.169, allocations: 235.9 kB / 1.351 GB, free: 13.03 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.321e-05/1.169, allocations: 4 kB / 1.351 GB, free: 13.03 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.273e-05/1.169, allocations: 23.98 kB / 1.351 GB, free: 13 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002896/1.169, allocations: 0.5899 MB / 1.351 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.169, allocations: 0 / 1.351 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003768/1.173, allocations: 1.827 MB / 1.353 GB, free: 10.53 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007043/1.174, allocations: 362.6 kB / 1.353 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002772/1.174, allocations: 12 kB / 1.353 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001307/1.175, allocations: 172.6 kB / 1.354 GB, free: 9.977 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/1.175, allocations: 56.52 kB / 1.354 GB, free: 9.918 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.406e-05/1.175, allocations: 27.98 kB / 1.354 GB, free: 9.891 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001717/1.177, allocations: 1.223 MB / 1.355 GB, free: 8.648 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/1.177, allocations: 0 / 1.355 GB, free: 8.648 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00234/1.18, allocations: 0.9859 MB / 1.356 GB, free: 7.66 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m,floMacDyn.vol.dynBal.mXi[1]) * 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.004986/1.185, allocations: 2.628 MB / 1.358 GB, free: 4.988 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004286/1.189, allocations: 1.749 MB / 1.36 GB, free: 3.242 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/1.189, allocations: 0 / 1.36 GB, free: 3.242 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001259/1.19, allocations: 0.5247 MB / 1.361 GB, free: 2.719 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00495/1.195, allocations: 1.018 MB / 1.362 GB, free: 1.707 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02285/1.218, allocations: 12.63 MB / 1.374 GB, free: 4.117 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001212/1.219, allocations: 1.562 MB / 1.375 GB, free: 2.523 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.002706/1.222, allocations: 492.6 kB / 1.376 GB, free: 2.039 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001622/1.224, allocations: 0.8468 MB / 1.377 GB, free: 1.191 MB / 0.9011 GB Notification: Performance of SimCode: time 1.102e-06/1.224, allocations: 0 / 1.377 GB, free: 1.191 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8479/2.071, allocations: 56.01 MB / 1.431 GB, free: 347.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002736/2.072, allocations: 248.9 kB / 1.432 GB, free: 346.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.781/5.853, allocations: 0 / 1.432 GB, free: 346.9 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow.fmu > Buildings_8.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)