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.714/2.714, allocations: 287.3 MB / 302.3 MB, free: 8.309 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.001528/0.001528, allocations: 177 kB / 370.8 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.189/2.189, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001225/0.001224, allocations: 101.8 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005473/0.0005475, allocations: 17.53 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2494, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 1.148/1.398, allocations: 262.4 MB / 1.235 GB, free: 2.941 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.05009/1.448, allocations: 21.09 MB / 1.255 GB, free: 13.82 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003874/1.452, allocations: 67.5 kB / 1.255 GB, free: 13.75 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.006753/1.459, allocations: 1.303 MB / 1.256 GB, free: 12.45 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.01748/1.476, allocations: 3.781 MB / 1.26 GB, free: 8.66 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.01477/1.491, allocations: 3.197 MB / 1.263 GB, free: 5.488 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.009963/1.501, allocations: 3.411 MB / 1.267 GB, free: 2.074 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004626/1.506, allocations: 1.606 MB / 1.268 GB, free: 456 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008447/1.514, allocations: 2.235 MB / 1.27 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003389/1.518, allocations: 1.136 MB / 1.271 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0007661/1.518, allocations: 92 kB / 1.272 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007591/1.526, allocations: 1.864 MB / 1.273 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.001848/1.528, allocations: 0.6737 MB / 1.274 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.001503/1.529, allocations: 0.5043 MB / 1.275 GB, free: 9.918 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.007861/1.537, allocations: 3.121 MB / 1.278 GB, free: 6.789 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/1.537, allocations: 0 / 1.278 GB, free: 6.789 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.535e-06/1.537, allocations: 0 / 1.278 GB, free: 6.789 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0001296/1.538, allocations: 4 kB / 1.278 GB, free: 6.785 MB / 0.8073 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.008345/1.546, allocations: 2.501 MB / 1.28 GB, free: 4.223 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/1.546, allocations: 8.031 kB / 1.28 GB, free: 4.215 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007678/1.547, allocations: 206.5 kB / 1.28 GB, free: 4.004 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009487/1.556, allocations: 0.8788 MB / 1.281 GB, free: 3.121 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006656/1.563, allocations: 1.805 MB / 1.283 GB, free: 1.242 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007856/1.564, allocations: 182.6 kB / 1.283 GB, free: 1.062 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006197/1.564, allocations: 144 kB / 1.283 GB, free: 0.9219 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006506/1.571, allocations: 1.678 MB / 1.285 GB, free: 15.19 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.995e-05/1.571, allocations: 3.938 kB / 1.285 GB, free: 15.18 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002387/1.571, allocations: 56 kB / 1.285 GB, free: 15.13 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.148e-05/1.571, allocations: 54.61 kB / 1.285 GB, free: 15.07 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007251/1.579, allocations: 1.482 MB / 1.286 GB, free: 13.59 MB / 0.823 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.02015/1.599, allocations: 7.791 MB / 1.294 GB, free: 5.191 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004566/1.604, allocations: 1.116 MB / 1.295 GB, free: 4.031 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001406/1.604, allocations: 20.62 kB / 1.295 GB, free: 4.012 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.118e-05/1.604, allocations: 47.22 kB / 1.295 GB, free: 3.957 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001551/1.605, allocations: 195.1 kB / 1.295 GB, free: 3.766 MB / 0.823 GB Notification: Performance of pre-optimization done (n=77): time 8.627e-06/1.605, allocations: 3.984 kB / 1.295 GB, free: 3.762 MB / 0.823 GB Notification: Performance of matching and sorting (n=77): time 0.008088/1.614, allocations: 1.514 MB / 1.297 GB, free: 2.242 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.887e-05/1.614, allocations: 56.06 kB / 1.297 GB, free: 2.172 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004229/1.618, allocations: 1.777 MB / 1.299 GB, free: 368 kB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003095/1.618, allocations: 49.64 kB / 1.299 GB, free: 312 kB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001388/1.62, allocations: 0.9761 MB / 1.3 GB, free: 15.32 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005317/1.62, allocations: 268 kB / 1.3 GB, free: 15.05 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.936e-05/1.62, allocations: 20 kB / 1.3 GB, free: 15.04 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002074/1.621, allocations: 353.9 kB / 1.3 GB, free: 14.68 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002361/1.623, allocations: 466 kB / 1.301 GB, free: 14.23 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002904/1.626, allocations: 0.878 MB / 1.301 GB, free: 13.16 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002691/1.629, allocations: 0.5572 MB / 1.302 GB, free: 12.61 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.875e-05/1.629, allocations: 4 kB / 1.302 GB, free: 12.6 MB / 0.8386 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.006645/1.635, allocations: 1.468 MB / 1.303 GB, free: 11.12 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.001975/1.637, allocations: 3.958 MB / 1.307 GB, free: 6.902 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.737e-05/1.637, allocations: 19.95 kB / 1.307 GB, free: 6.883 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.421e-05/1.638, allocations: 16 kB / 1.307 GB, free: 6.867 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002972/1.64, allocations: 303.5 kB / 1.308 GB, free: 6.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006226/1.641, allocations: 0.6055 MB / 1.308 GB, free: 5.941 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00329/1.644, allocations: 177.1 kB / 1.308 GB, free: 5.766 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003185/1.645, allocations: 55.97 kB / 1.308 GB, free: 5.711 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/1.645, allocations: 6.188 kB / 1.308 GB, free: 5.707 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004513/1.649, allocations: 1.156 MB / 1.31 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.756e-05/1.649, allocations: 11.94 kB / 1.31 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.348e-05/1.65, allocations: 16 kB / 1.31 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002108/1.652, allocations: 267.9 kB / 1.31 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.53e-05/1.652, allocations: 23.89 kB / 1.31 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002855/1.655, allocations: 153 kB / 1.31 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002987/1.655, allocations: 51.98 kB / 1.31 GB, free: 4.039 MB / 0.8386 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.001712/1.657, allocations: 0.5845 MB / 1.311 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006514/1.657, allocations: 193.6 kB / 1.311 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005807/1.663, allocations: 1.185 MB / 1.312 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.673e-05/1.663, allocations: 11.95 kB / 1.312 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/1.663, allocations: 0 / 1.312 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004804/1.668, allocations: 1.008 MB / 1.313 GB, free: 1.012 MB / 0.8386 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.0114/1.68, allocations: 2.972 MB / 1.316 GB, free: 13.94 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.889e-06/1.68, allocations: 0 / 1.316 GB, free: 13.94 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002328/1.682, allocations: 243.8 kB / 1.316 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.909e-05/1.682, allocations: 4 kB / 1.316 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001808/1.682, allocations: 23.98 kB / 1.316 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004899/1.683, allocations: 0.5977 MB / 1.317 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/1.683, allocations: 0 / 1.317 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008131/1.691, allocations: 1.881 MB / 1.319 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001403/1.692, allocations: 362.5 kB / 1.319 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005556/1.693, allocations: 16 kB / 1.319 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002979/1.696, allocations: 160.6 kB / 1.319 GB, free: 10.56 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002725/1.696, allocations: 56.64 kB / 1.319 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001511/1.696, allocations: 39.95 kB / 1.319 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.00338/1.7, allocations: 1.196 MB / 1.32 GB, free: 9.246 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.61e-07/1.7, allocations: 0 / 1.32 GB, free: 9.246 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004865/1.705, allocations: 0.982 MB / 1.321 GB, free: 8.262 MB / 0.8542 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.009886/1.715, allocations: 2.988 MB / 1.324 GB, free: 5.219 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.008379/1.723, allocations: 1.71 MB / 1.326 GB, free: 3.508 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/1.723, allocations: 0 / 1.326 GB, free: 3.508 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002706/1.726, allocations: 0.5168 MB / 1.326 GB, free: 2.996 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008677/1.735, allocations: 1.042 MB / 1.327 GB, free: 1.965 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01842/1.753, allocations: 11.79 MB / 1.339 GB, free: 5.898 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002326/1.755, allocations: 1.605 MB / 1.34 GB, free: 4.262 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003922/1.759, allocations: 0.4889 MB / 1.341 GB, free: 3.77 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002402/1.762, allocations: 0.8546 MB / 1.342 GB, free: 2.914 MB / 0.8698 GB Notification: Performance of SimCode: time 1.183e-06/1.762, allocations: 4 kB / 1.342 GB, free: 2.91 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1581/1.92, allocations: 54.45 MB / 1.395 GB, free: 12.93 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003139/1.92, allocations: 256 kB / 1.395 GB, free: 12.59 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.918/6.838, allocations: 0 / 1.395 GB, free: 12.59 MB / 0.9323 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)