Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.HydraulicEfficiencyMethods.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.BaseClasses.Validation.HydraulicEfficiencyMethods,fileNamePrefix="Buildings_10_Buildings_Fluid_Movers_BaseClasses_Validation_HydraulicEfficiencyMethods",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.HydraulicEfficiencyMethods,fileNamePrefix="Buildings_10_Buildings_Fluid_Movers_BaseClasses_Validation_HydraulicEfficiencyMethods",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.001666/0.001666, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002355/0.002354, allocations: 192.8 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.504/2.504, allocations: 437 MB / 0.7104 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 68.09 kB / 0.8693 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5142/0.5155, allocations: 151.6 MB / 1.017 GB, free: 2.582 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.HydraulicEfficiencyMethods): time 0.006108/0.5216, allocations: 4.902 MB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.009324/0.531, allocations: 5.624 MB / 1.028 GB, free: 8.012 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009878/0.532, allocations: 23.94 kB / 1.028 GB, free: 7.988 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0163/0.5484, allocations: 11.22 MB / 1.039 GB, free: 12.75 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.002681/0.5511, allocations: 1.206 MB / 1.04 GB, free: 11.54 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003081/0.5542, allocations: 1.514 MB / 1.041 GB, free: 10.03 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.02121/0.5754, allocations: 15.52 MB / 1.056 GB, free: 10.51 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004154/0.5758, allocations: 156.4 kB / 1.057 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001254/0.5771, allocations: 0.7592 MB / 1.057 GB, free: 9.574 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001105/0.5782, allocations: 0.7467 MB / 1.058 GB, free: 8.824 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0003122/0.5785, allocations: 80 kB / 1.058 GB, free: 8.746 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002625/0.5812, allocations: 1.482 MB / 1.06 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0008775/0.5821, allocations: 0.9153 MB / 1.061 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001488/0.5836, allocations: 1.064 MB / 1.062 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.004504/0.5881, allocations: 3.586 MB / 1.065 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.381e-06/0.5881, allocations: 0 / 1.065 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5881, allocations: 4 kB / 1.065 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.855e-05/0.5882, allocations: 0 / 1.065 GB, free: 1.672 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.005618/0.5938, allocations: 2.767 MB / 1.068 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.5939, allocations: 12.02 kB / 1.068 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.119e-05/0.594, allocations: 66.55 kB / 1.068 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004253/0.5982, allocations: 0.7384 MB / 1.069 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00638/0.6046, allocations: 4.509 MB / 1.073 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001255/0.6048, allocations: 44.95 kB / 1.073 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001704/0.605, allocations: 48 kB / 1.073 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001835/0.6068, allocations: 0.7944 MB / 1.074 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.6068, allocations: 0 / 1.074 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.5e-05/0.6069, allocations: 12 kB / 1.074 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.6069, allocations: 4 kB / 1.074 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002327/0.6093, allocations: 0.7481 MB / 1.075 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005715/0.615, allocations: 3.154 MB / 1.078 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002456/0.6175, allocations: 0.9169 MB / 1.079 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001118/0.6186, allocations: 372.6 kB / 1.079 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.968e-05/0.6186, allocations: 19.91 kB / 1.079 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.6187, allocations: 34.56 kB / 1.079 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=32): time 1.813e-06/0.6187, allocations: 0 / 1.079 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of matching and sorting (n=32): time 0.004035/0.6227, allocations: 1.346 MB / 1.08 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.6228, allocations: 63.33 kB / 1.08 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004974/0.6278, allocations: 3.569 MB / 1.084 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001611/0.6279, allocations: 37.7 kB / 1.084 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008142/0.6288, allocations: 0.8338 MB / 1.085 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001773/0.6289, allocations: 146.2 kB / 1.085 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008244/0.6298, allocations: 0.5794 MB / 1.085 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 8.05e-05/0.6299, allocations: 301.1 kB / 1.086 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002407/0.6323, allocations: 1.452 MB / 1.087 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002769/0.6351, allocations: 1.911 MB / 1.089 GB, free: 8.773 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004469/0.6396, allocations: 3.016 MB / 1.092 GB, free: 5.641 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.6396, allocations: 0 / 1.092 GB, free: 5.641 MB / 0.8419 GB Notification: Performance of matching and sorting (n=344) (initialization): time 0.006062/0.6456, allocations: 3.706 MB / 1.096 GB, free: 1.93 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/0.6457, allocations: 11.98 kB / 1.096 GB, free: 1.918 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/0.6457, allocations: 8 kB / 1.096 GB, free: 1.91 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.15e-05/0.6458, allocations: 16 kB / 1.096 GB, free: 1.895 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001685/0.6474, allocations: 427.5 kB / 1.096 GB, free: 1.477 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.395e-05/0.6475, allocations: 19.98 kB / 1.096 GB, free: 1.457 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002077/0.6496, allocations: 301.4 kB / 1.096 GB, free: 1.16 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001901/0.6498, allocations: 95.95 kB / 1.096 GB, free: 1.066 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002989/0.6528, allocations: 1.871 MB / 1.098 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002604/0.6554, allocations: 1.77 MB / 1.1 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004141/0.6595, allocations: 2.717 MB / 1.103 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.893e-06/0.6596, allocations: 0 / 1.103 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of matching and sorting (n=344) (initialization_lambda0): time 0.005745/0.6653, allocations: 3.425 MB / 1.106 GB, free: 7.012 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.6654, allocations: 8 kB / 1.106 GB, free: 7.004 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/0.6654, allocations: 8 kB / 1.106 GB, free: 6.996 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.6654, allocations: 16 kB / 1.106 GB, free: 6.98 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001699/0.6671, allocations: 411.6 kB / 1.106 GB, free: 6.578 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.031e-05/0.6672, allocations: 23.88 kB / 1.106 GB, free: 6.555 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002119/0.6693, allocations: 255.7 kB / 1.107 GB, free: 6.305 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001639/0.6695, allocations: 91.97 kB / 1.107 GB, free: 6.215 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (210): * Single equations (assignments): 201 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003746/0.6698, allocations: 261.1 kB / 1.107 GB, free: 5.953 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004994/0.6704, allocations: 220.9 kB / 1.107 GB, free: 5.734 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002896/0.6733, allocations: 1.033 MB / 1.108 GB, free: 4.688 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.6733, allocations: 7.938 kB / 1.108 GB, free: 4.68 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.6733, allocations: 0 / 1.108 GB, free: 4.68 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.6733, allocations: 0 / 1.108 GB, free: 4.68 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002145/0.6754, allocations: 1.315 MB / 1.109 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.6755, allocations: 0 / 1.109 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008507/0.6763, allocations: 139.8 kB / 1.11 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.766e-06/0.6763, allocations: 4 kB / 1.11 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.998e-05/0.6764, allocations: 11.98 kB / 1.11 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.491e-06/0.6764, allocations: 3.938 kB / 1.11 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.6764, allocations: 0 / 1.11 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002996/0.6794, allocations: 1.101 MB / 1.111 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009518/0.6804, allocations: 445.7 kB / 1.111 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004376/0.6808, allocations: 12 kB / 1.111 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001195/0.682, allocations: 95.83 kB / 1.111 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.949e-05/0.6821, allocations: 27.91 kB / 1.111 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-05/0.6822, allocations: 19.98 kB / 1.111 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.003464/0.6857, allocations: 2.404 MB / 1.114 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of sort global known variables: time 5.41e-07/0.6857, allocations: 4 kB / 1.114 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002906/0.6886, allocations: 1.019 MB / 1.115 GB, free: 14 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004309/0.6929, allocations: 2.061 MB / 1.117 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00711/0.7, allocations: 4.007 MB / 1.121 GB, free: 7.898 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.7001, allocations: 0 / 1.121 GB, free: 7.898 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001136/0.7012, allocations: 404.4 kB / 1.121 GB, free: 7.504 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0041/0.7053, allocations: 0.9416 MB / 1.122 GB, free: 6.586 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03877/0.7441, allocations: 24.45 MB / 1.146 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00144/0.7456, allocations: 1.642 MB / 1.147 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.002996/0.7486, allocations: 0.7422 MB / 1.148 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001574/0.7502, allocations: 0.9171 MB / 1.149 GB, free: 9.555 MB / 0.9044 GB Notification: Performance of SimCode: time 1.042e-06/0.7502, allocations: 3.938 kB / 1.149 GB, free: 9.551 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1042/0.8544, allocations: 67.02 MB / 1.214 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.79, allocations: 11.94 kB / 1.214 GB, free: 7.27 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.HydraulicEfficiencyMethods.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.HydraulicEfficiencyMethods.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.HydraulicEfficiencyMethods.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.HydraulicEfficiencyMethods.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.HydraulicEfficiencyMethods_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Movers_BaseClasses_Validation_HydraulicEfficiencyMethods_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Movers_BaseClasses_Validation_HydraulicEfficiencyMethods.fmu > Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.HydraulicEfficiencyMethods.pipe 2>&1)