Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,fileNamePrefix="Buildings_10_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,fileNamePrefix="Buildings_10_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg",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.0009472/0.0009472, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007573/0.007573, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.413/1.413, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.626/2.626, allocations: 437.8 MB / 0.7121 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003491/0.0003492, allocations: 11.98 kB / 0.8729 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6586/0.659, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg): time 0.06931/0.7284, allocations: 75.04 MB / 1.096 GB, free: 4.523 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02577/0.7542, allocations: 19.86 MB / 1.116 GB, free: 0.6094 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002575/0.7568, allocations: 75.5 kB / 1.116 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002319/0.7591, allocations: 0.7964 MB / 1.117 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.006509/0.7656, allocations: 2.636 MB / 1.119 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.004607/0.7703, allocations: 1.9 MB / 1.121 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.007045/0.7773, allocations: 6.73 MB / 1.128 GB, free: 4.445 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002016/0.7794, allocations: 1.361 MB / 1.129 GB, free: 3.055 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003632/0.783, allocations: 1.761 MB / 1.131 GB, free: 1.285 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002576/0.7856, allocations: 1.428 MB / 1.132 GB, free: 15.85 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.00021/0.7858, allocations: 72 kB / 1.132 GB, free: 15.78 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003933/0.7898, allocations: 1.785 MB / 1.134 GB, free: 13.99 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003788/0.7901, allocations: 362.2 kB / 1.134 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001192/0.7913, allocations: 0.9924 MB / 1.135 GB, free: 12.63 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.004196/0.7956, allocations: 3.329 MB / 1.138 GB, free: 9.293 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.7956, allocations: 0 / 1.138 GB, free: 9.293 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7956, allocations: 0 / 1.138 GB, free: 9.293 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.751e-05/0.7956, allocations: 0 / 1.138 GB, free: 9.293 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.003914/0.7995, allocations: 2.136 MB / 1.141 GB, free: 7.098 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.7996, allocations: 12.03 kB / 1.141 GB, free: 7.086 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002303/0.7998, allocations: 182 kB / 1.141 GB, free: 6.898 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001811/0.8016, allocations: 441 kB / 1.141 GB, free: 6.465 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003103/0.8048, allocations: 1.773 MB / 1.143 GB, free: 4.637 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.111e-05/0.8048, allocations: 94.44 kB / 1.143 GB, free: 4.543 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001925/0.805, allocations: 128 kB / 1.143 GB, free: 4.418 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002481/0.8075, allocations: 1.438 MB / 1.145 GB, free: 2.875 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.693e-05/0.8076, allocations: 11.94 kB / 1.145 GB, free: 2.863 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001194/0.8077, allocations: 63.86 kB / 1.145 GB, free: 2.801 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.88e-05/0.8078, allocations: 32 kB / 1.145 GB, free: 2.77 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00227/0.81, allocations: 1.098 MB / 1.146 GB, free: 1.664 MB / 0.8887 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.007973/0.818, allocations: 7.868 MB / 1.153 GB, free: 9.184 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00368/0.8217, allocations: 1.07 MB / 1.154 GB, free: 8.102 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008777/0.8226, allocations: 447.8 kB / 1.155 GB, free: 7.66 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001663/0.8243, allocations: 1.872 MB / 1.157 GB, free: 5.383 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00106/0.8253, allocations: 0.5023 MB / 1.157 GB, free: 4.875 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=84): time 2.826e-06/0.8254, allocations: 0 / 1.157 GB, free: 4.875 MB / 0.9044 GB Notification: Performance of matching and sorting (n=84): time 0.002954/0.8283, allocations: 1.3 MB / 1.158 GB, free: 3.562 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.97e-05/0.8284, allocations: 89.77 kB / 1.159 GB, free: 3.457 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001866/0.8303, allocations: 1.383 MB / 1.16 GB, free: 2.066 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 8.324e-05/0.8304, allocations: 49.7 kB / 1.16 GB, free: 2.012 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006658/0.831, allocations: 0.8254 MB / 1.161 GB, free: 1.176 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002595/0.8313, allocations: 291.8 kB / 1.161 GB, free: 0.8867 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.8314, allocations: 89.67 kB / 1.161 GB, free: 0.793 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.8316, allocations: 341.9 kB / 1.161 GB, free: 464 kB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008307/0.8324, allocations: 382.3 kB / 1.162 GB, free: 84 kB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/0.8335, allocations: 0.6871 MB / 1.162 GB, free: 15.25 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001914/0.8354, allocations: 1.079 MB / 1.164 GB, free: 14.05 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.8354, allocations: 4 kB / 1.164 GB, free: 14.05 MB / 0.92 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002505/0.8379, allocations: 1.268 MB / 1.165 GB, free: 12.77 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002122/0.8382, allocations: 362 kB / 1.165 GB, free: 12.29 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.319e-05/0.8382, allocations: 8 kB / 1.165 GB, free: 12.28 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.66e-05/0.8382, allocations: 16 kB / 1.165 GB, free: 12.27 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009573/0.8392, allocations: 255.6 kB / 1.165 GB, free: 12.02 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.094e-05/0.8392, allocations: 23.94 kB / 1.165 GB, free: 11.99 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001297/0.8405, allocations: 194.7 kB / 1.166 GB, free: 11.8 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.996e-05/0.8406, allocations: 55.92 kB / 1.166 GB, free: 11.75 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 8.385e-06/0.8407, allocations: 5.719 kB / 1.166 GB, free: 11.74 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0022/0.8429, allocations: 1.094 MB / 1.167 GB, free: 10.65 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.946e-05/0.8429, allocations: 8 kB / 1.167 GB, free: 10.64 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.8429, allocations: 16 kB / 1.167 GB, free: 10.63 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009243/0.8439, allocations: 255.6 kB / 1.167 GB, free: 10.38 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.973e-05/0.8439, allocations: 23.94 kB / 1.167 GB, free: 10.36 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001204/0.8451, allocations: 179 kB / 1.167 GB, free: 10.18 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.29e-05/0.8452, allocations: 51.98 kB / 1.167 GB, free: 10.13 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.DataReader.nextTimeEvent,$whenCondition1,DataReader.nextTimeEventScaled,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEvent,eneLosInt.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0007132/0.8459, allocations: 450.4 kB / 1.168 GB, free: 9.684 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002249/0.8462, allocations: 169.9 kB / 1.168 GB, free: 9.516 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003017/0.8492, allocations: 1.478 MB / 1.169 GB, free: 8.051 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.409e-05/0.8492, allocations: 16 kB / 1.169 GB, free: 8.035 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.8492, allocations: 0 / 1.169 GB, free: 8.035 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002042/0.8513, allocations: 1.117 MB / 1.17 GB, free: 6.887 MB / 0.92 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.004872/0.8562, allocations: 2.939 MB / 1.173 GB, free: 3.867 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.511e-05/0.8562, allocations: 7.938 kB / 1.173 GB, free: 3.859 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008749/0.8571, allocations: 195.8 kB / 1.173 GB, free: 3.668 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.006e-05/0.8571, allocations: 4 kB / 1.173 GB, free: 3.664 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.685e-05/0.8572, allocations: 27.98 kB / 1.173 GB, free: 3.637 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.907e-06/0.8572, allocations: 8 kB / 1.173 GB, free: 3.629 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.8572, allocations: 0 / 1.173 GB, free: 3.629 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003636/0.8608, allocations: 1.938 MB / 1.175 GB, free: 1.664 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007324/0.8616, allocations: 406.5 kB / 1.176 GB, free: 1.246 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000204/0.8618, allocations: 20 kB / 1.176 GB, free: 1.227 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/0.8629, allocations: 127.8 kB / 1.176 GB, free: 1.102 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/0.8631, allocations: 76.83 kB / 1.176 GB, free: 1.027 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.051e-05/0.8632, allocations: 43.97 kB / 1.176 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001384/0.8646, allocations: 0.9357 MB / 1.177 GB, free: 56 kB / 0.92 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8646, allocations: 3.938 kB / 1.177 GB, free: 52 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.002602/0.8672, allocations: 0.9822 MB / 1.178 GB, free: 15.07 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (pipe.del.x,pipe.timDel.x,pipe.vol_b.dynBal.U,pipe.vol_a.dynBal.U,eneLosInt.y) * Number of discrete variables: 3 ($whenCondition1,DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Number of discrete states: 2 (DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 15 * When equations: 2 * 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.00571/0.8729, allocations: 3.352 MB / 1.181 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003391/0.8763, allocations: 1.719 MB / 1.183 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.8763, allocations: 0 / 1.183 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001059/0.8774, allocations: 0.6229 MB / 1.183 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003846/0.8812, allocations: 0.7463 MB / 1.184 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02332/0.9046, allocations: 13.14 MB / 1.197 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000861/0.9055, allocations: 1.323 MB / 1.198 GB, free: 9.473 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001717/0.9072, allocations: 457.9 kB / 1.199 GB, free: 9.047 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009361/0.9081, allocations: 0.7296 MB / 1.199 GB, free: 8.316 MB / 0.9512 GB Notification: Performance of SimCode: time 8.11e-07/0.9082, allocations: 4 kB / 1.199 GB, free: 8.312 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1017/1.01, allocations: 46.45 MB / 1.245 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000269/1.01, allocations: 274.5 kB / 1.245 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.287/4.297, allocations: 0 / 1.245 GB, free: 10.16 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg_fmu --startTime=0 --stopTime=875 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg.fmu > Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe 2>&1)