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 2.85/2.85, allocations: 287.5 MB / 302.4 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.001407/0.001406, allocations: 183 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.168/2.168, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.001031/0.00103, allocations: 89.67 kB / 0.743 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004852/0.0004853, allocations: 15.38 kB / 0.8659 GB, free: 140 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.2379, allocations: 115.3 MB / 0.9784 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 1.3/1.538, allocations: 296 MB / 1.268 GB, free: 3.773 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.04841/1.587, allocations: 21.49 MB / 1.289 GB, free: 14.23 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004019/1.591, allocations: 79.44 kB / 1.289 GB, free: 14.16 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.005413/1.596, allocations: 0.959 MB / 1.29 GB, free: 13.19 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.01403/1.611, allocations: 3.103 MB / 1.293 GB, free: 10.08 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00854/1.619, allocations: 1.777 MB / 1.294 GB, free: 8.32 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.01374/1.633, allocations: 6.748 MB / 1.301 GB, free: 1.555 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004273/1.637, allocations: 1.573 MB / 1.302 GB, free: 15.96 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00937/1.647, allocations: 2.552 MB / 1.305 GB, free: 13.4 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004874/1.652, allocations: 1.692 MB / 1.307 GB, free: 11.7 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0009182/1.653, allocations: 92 kB / 1.307 GB, free: 11.61 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009176/1.662, allocations: 2.202 MB / 1.309 GB, free: 9.402 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.001945/1.664, allocations: 0.7475 MB / 1.31 GB, free: 8.652 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.001339/1.665, allocations: 0.5082 MB / 1.31 GB, free: 8.137 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.007916/1.673, allocations: 3.324 MB / 1.313 GB, free: 4.805 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 8.176e-06/1.673, allocations: 0 / 1.313 GB, free: 4.805 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.795e-06/1.673, allocations: 0 / 1.313 GB, free: 4.805 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.941e-05/1.673, allocations: 4 kB / 1.313 GB, free: 4.801 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.008068/1.681, allocations: 2.567 MB / 1.316 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/1.681, allocations: 8.031 kB / 1.316 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006773/1.682, allocations: 198.6 kB / 1.316 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009291/1.691, allocations: 0.8827 MB / 1.317 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005903/1.697, allocations: 1.738 MB / 1.319 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007402/1.698, allocations: 174.6 kB / 1.319 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004387/1.699, allocations: 147.9 kB / 1.319 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006129/1.705, allocations: 1.713 MB / 1.321 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.991e-05/1.705, allocations: 3.938 kB / 1.321 GB, free: 13.17 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002293/1.705, allocations: 56 kB / 1.321 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.363e-05/1.705, allocations: 54.55 kB / 1.321 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006854/1.712, allocations: 1.505 MB / 1.322 GB, free: 11.55 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.0191/1.731, allocations: 7.832 MB / 1.33 GB, free: 3.121 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004489/1.736, allocations: 1.158 MB / 1.331 GB, free: 1.918 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00251/1.738, allocations: 0.5571 MB / 1.331 GB, free: 1.355 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003053/1.739, allocations: 113.7 kB / 1.332 GB, free: 1.227 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.101e-05/1.739, allocations: 43.22 kB / 1.332 GB, free: 1.176 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001569/1.74, allocations: 195.1 kB / 1.332 GB, free: 0.9844 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=77): time 4.719e-06/1.74, allocations: 0 / 1.332 GB, free: 0.9844 MB / 0.8542 GB Notification: Performance of matching and sorting (n=77): time 0.007872/1.748, allocations: 1.542 MB / 1.333 GB, free: 15.43 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/1.748, allocations: 56.06 kB / 1.333 GB, free: 15.37 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004098/1.752, allocations: 1.8 MB / 1.335 GB, free: 13.53 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002843/1.753, allocations: 45.7 kB / 1.335 GB, free: 13.48 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001263/1.754, allocations: 0.9723 MB / 1.336 GB, free: 12.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004881/1.755, allocations: 276 kB / 1.336 GB, free: 12.23 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.952e-05/1.755, allocations: 20 kB / 1.336 GB, free: 12.21 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001871/1.755, allocations: 353.8 kB / 1.337 GB, free: 11.86 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00238/1.757, allocations: 482 kB / 1.337 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00303/1.76, allocations: 0.8904 MB / 1.338 GB, free: 10.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002761/1.763, allocations: 0.5728 MB / 1.339 GB, free: 9.734 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.432e-05/1.763, allocations: 4 kB / 1.339 GB, free: 9.73 MB / 0.8698 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.00682/1.77, allocations: 1.487 MB / 1.34 GB, free: 8.234 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000375/1.77, allocations: 378 kB / 1.34 GB, free: 7.73 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.434e-05/1.77, allocations: 11.94 kB / 1.34 GB, free: 7.719 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.908e-05/1.771, allocations: 16 kB / 1.34 GB, free: 7.703 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002983/1.774, allocations: 311.5 kB / 1.341 GB, free: 7.398 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006022/1.774, allocations: 0.6093 MB / 1.341 GB, free: 6.766 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003311/1.778, allocations: 174.6 kB / 1.341 GB, free: 6.598 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002194/1.778, allocations: 51.98 kB / 1.342 GB, free: 6.547 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/1.778, allocations: 8 kB / 1.342 GB, free: 6.539 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004453/1.782, allocations: 1.176 MB / 1.343 GB, free: 5.363 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.951e-05/1.782, allocations: 16.06 kB / 1.343 GB, free: 5.348 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.003e-05/1.782, allocations: 16 kB / 1.343 GB, free: 5.332 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002056/1.784, allocations: 263.6 kB / 1.343 GB, free: 5.074 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.391e-05/1.785, allocations: 19.92 kB / 1.343 GB, free: 5.055 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003047/1.788, allocations: 164.8 kB / 1.343 GB, free: 4.895 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002684/1.788, allocations: 48 kB / 1.343 GB, free: 4.848 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.001802/1.79, allocations: 0.5865 MB / 1.344 GB, free: 4.25 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006621/1.79, allocations: 193.6 kB / 1.344 GB, free: 4.059 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005983/1.796, allocations: 1.193 MB / 1.345 GB, free: 2.859 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.226e-05/1.796, allocations: 8 kB / 1.345 GB, free: 2.852 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/1.796, allocations: 3.984 kB / 1.345 GB, free: 2.848 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005019/1.802, allocations: 1.031 MB / 1.346 GB, free: 1.785 MB / 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.01183/1.813, allocations: 3.046 MB / 1.349 GB, free: 14.63 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/1.813, allocations: 0 / 1.349 GB, free: 14.63 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00233/1.816, allocations: 231.9 kB / 1.349 GB, free: 14.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.819e-05/1.816, allocations: 7.984 kB / 1.349 GB, free: 14.39 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001304/1.816, allocations: 23.98 kB / 1.349 GB, free: 14.37 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004599/1.816, allocations: 0.5976 MB / 1.35 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/1.816, allocations: 7.969 kB / 1.35 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007965/1.824, allocations: 1.819 MB / 1.352 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001434/1.826, allocations: 366.5 kB / 1.352 GB, free: 11.51 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004943/1.826, allocations: 16 kB / 1.352 GB, free: 11.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002843/1.829, allocations: 156.6 kB / 1.352 GB, free: 11.34 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002067/1.83, allocations: 60.53 kB / 1.352 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000123/1.83, allocations: 27.98 kB / 1.352 GB, free: 11.26 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.003249/1.833, allocations: 1.219 MB / 1.354 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.413e-06/1.833, allocations: 0 / 1.354 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004974/1.838, allocations: 0.9859 MB / 1.354 GB, free: 9.031 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.009484/1.848, allocations: 2.629 MB / 1.357 GB, free: 6.367 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.008014/1.856, allocations: 1.747 MB / 1.359 GB, free: 4.625 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.321e-05/1.856, allocations: 4 kB / 1.359 GB, free: 4.621 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002633/1.858, allocations: 0.5156 MB / 1.359 GB, free: 4.105 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009153/1.868, allocations: 1.047 MB / 1.36 GB, free: 3.062 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04519/1.913, allocations: 12.63 MB / 1.373 GB, free: 5.465 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002413/1.915, allocations: 1.562 MB / 1.374 GB, free: 3.871 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.003975/1.919, allocations: 492.6 kB / 1.375 GB, free: 3.387 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00232/1.922, allocations: 0.8468 MB / 1.375 GB, free: 2.539 MB / 0.9011 GB Notification: Performance of SimCode: time 1.653e-06/1.922, allocations: 0 / 1.375 GB, free: 2.539 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8505/2.772, allocations: 56 MB / 1.43 GB, free: 345.8 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003058/2.773, allocations: 255.6 kB / 1.43 GB, free: 345.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.123/7.896, allocations: 2.188 kB / 1.43 GB, free: 345.5 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)