Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg,fileNamePrefix="Buildings_latest_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.0007241/0.0007241, 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.004478/0.004478, 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.266/1.266, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.516/2.516, allocations: 462.6 MB / 0.7364 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003049/0.000305, allocations: 8.875 kB / 0.9029 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.24, allocations: 159.6 MB / 1.059 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg): time 0.06604/0.3061, allocations: 75.04 MB / 1.132 GB, free: 9.562 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02325/0.3294, allocations: 19.85 MB / 1.151 GB, free: 5.66 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002166/0.3316, allocations: 75.5 kB / 1.152 GB, free: 5.586 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002349/0.334, allocations: 0.8042 MB / 1.152 GB, free: 4.777 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006394/0.3404, allocations: 2.64 MB / 1.155 GB, free: 2.129 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004791/0.3452, allocations: 1.895 MB / 1.157 GB, free: 248 kB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00724/0.3524, allocations: 6.715 MB / 1.163 GB, free: 9.504 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00218/0.3546, allocations: 1.365 MB / 1.165 GB, free: 8.105 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003252/0.3579, allocations: 1.761 MB / 1.166 GB, free: 6.336 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002159/0.36, allocations: 1.423 MB / 1.168 GB, free: 4.906 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0003359/0.3604, allocations: 72 kB / 1.168 GB, free: 4.836 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003805/0.3642, allocations: 1.789 MB / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000555/0.3648, allocations: 358.2 kB / 1.17 GB, free: 2.691 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001282/0.3661, allocations: 0.9963 MB / 1.171 GB, free: 1.684 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004261/0.3703, allocations: 3.325 MB / 1.174 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3704, allocations: 3.984 kB / 1.174 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.255e-06/0.3704, allocations: 0 / 1.174 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.677e-05/0.3704, allocations: 3.938 kB / 1.174 GB, free: 14.34 MB / 0.9356 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.003884/0.3743, allocations: 2.128 MB / 1.176 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.3744, allocations: 15.97 kB / 1.176 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002612/0.3746, allocations: 186 kB / 1.176 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001813/0.3764, allocations: 444.9 kB / 1.177 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003023/0.3795, allocations: 1.775 MB / 1.179 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.186e-05/0.3796, allocations: 98.42 kB / 1.179 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001757/0.3797, allocations: 127.9 kB / 1.179 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002326/0.3821, allocations: 1.436 MB / 1.18 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.433e-05/0.3821, allocations: 11.92 kB / 1.18 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/0.3822, allocations: 55.94 kB / 1.18 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-05/0.3823, allocations: 36 kB / 1.18 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002153/0.3844, allocations: 1.094 MB / 1.181 GB, free: 6.711 MB / 0.9356 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.007316/0.3918, allocations: 7.875 MB / 1.189 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003421/0.3952, allocations: 1.077 MB / 1.19 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008106/0.396, allocations: 451.8 kB / 1.191 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001483/0.3975, allocations: 1.868 MB / 1.192 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009505/0.3985, allocations: 0.4983 MB / 1.193 GB, free: 9.902 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=84): time 2.304e-06/0.3985, allocations: 4 kB / 1.193 GB, free: 9.898 MB / 0.9512 GB Notification: Performance of matching and sorting (n=84): time 0.002656/0.4012, allocations: 1.297 MB / 1.194 GB, free: 8.598 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.4012, allocations: 97.62 kB / 1.194 GB, free: 8.484 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00166/0.4029, allocations: 1.383 MB / 1.196 GB, free: 7.094 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 7.422e-05/0.403, allocations: 49.69 kB / 1.196 GB, free: 7.039 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005732/0.4036, allocations: 0.8178 MB / 1.196 GB, free: 6.211 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.000234/0.4038, allocations: 295.7 kB / 1.197 GB, free: 5.918 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.4039, allocations: 89.67 kB / 1.197 GB, free: 5.824 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.404, allocations: 341.9 kB / 1.197 GB, free: 5.484 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008026/0.4048, allocations: 374.4 kB / 1.197 GB, free: 5.117 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009515/0.4058, allocations: 0.6793 MB / 1.198 GB, free: 4.301 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001773/0.4076, allocations: 1.091 MB / 1.199 GB, free: 3.086 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.4076, allocations: 0 / 1.199 GB, free: 3.086 MB / 0.9512 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002282/0.4099, allocations: 1.265 MB / 1.2 GB, free: 1.812 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001876/0.4101, allocations: 367.7 kB / 1.201 GB, free: 1.328 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.037e-05/0.4101, allocations: 12 kB / 1.201 GB, free: 1.316 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.4101, allocations: 12 kB / 1.201 GB, free: 1.305 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008893/0.411, allocations: 255.6 kB / 1.201 GB, free: 1.055 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.057e-05/0.4111, allocations: 19.94 kB / 1.201 GB, free: 1.035 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/0.4122, allocations: 194.8 kB / 1.201 GB, free: 0.8438 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.625e-05/0.4123, allocations: 55.92 kB / 1.201 GB, free: 0.7891 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 6.442e-06/0.4123, allocations: 4 kB / 1.201 GB, free: 0.7852 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002053/0.4143, allocations: 1.09 MB / 1.202 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.024e-05/0.4144, allocations: 16.16 kB / 1.202 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.4144, allocations: 12 kB / 1.202 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008671/0.4153, allocations: 255.6 kB / 1.203 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.67e-05/0.4153, allocations: 23.88 kB / 1.203 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/0.4164, allocations: 183 kB / 1.203 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-05/0.4165, allocations: 51.98 kB / 1.203 GB, free: 15.16 MB / 0.9669 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.0005297/0.417, allocations: 444.8 kB / 1.203 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001963/0.4172, allocations: 169.9 kB / 1.203 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00274/0.42, allocations: 1.485 MB / 1.205 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-05/0.42, allocations: 16 kB / 1.205 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.42, allocations: 3.984 kB / 1.205 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001916/0.4219, allocations: 1.117 MB / 1.206 GB, free: 11.91 MB / 0.9669 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.004318/0.4263, allocations: 2.942 MB / 1.209 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/0.4263, allocations: 0 / 1.209 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007692/0.427, allocations: 191.8 kB / 1.209 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-06/0.4271, allocations: 8.094 kB / 1.209 GB, free: 8.699 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.047e-05/0.4271, allocations: 27.98 kB / 1.209 GB, free: 8.672 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.4271, allocations: 4 kB / 1.209 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4272, allocations: 0 / 1.209 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003191/0.4303, allocations: 1.938 MB / 1.211 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005636/0.4309, allocations: 402.6 kB / 1.211 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001883/0.4311, allocations: 32 kB / 1.211 GB, free: 6.258 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/0.4321, allocations: 134.2 kB / 1.212 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/0.4323, allocations: 72.84 kB / 1.212 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-05/0.4324, allocations: 43.97 kB / 1.212 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001279/0.4337, allocations: 0.9357 MB / 1.213 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4337, allocations: 0 / 1.213 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002241/0.4359, allocations: 0.9861 MB / 1.214 GB, free: 4.098 MB / 0.9669 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.005394/0.4413, allocations: 3.355 MB / 1.217 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003074/0.4444, allocations: 1.715 MB / 1.218 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4444, allocations: 0 / 1.218 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001037/0.4455, allocations: 0.6229 MB / 1.219 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003419/0.4489, allocations: 0.7421 MB / 1.22 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02159/0.4705, allocations: 13.14 MB / 1.233 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008568/0.4714, allocations: 1.319 MB / 1.234 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001484/0.4729, allocations: 460.8 kB / 1.234 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008937/0.4738, allocations: 0.7335 MB / 1.235 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of SimCode: time 5.31e-07/0.4738, allocations: 0 / 1.235 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.331/1.805, allocations: 46.44 MB / 1.28 GB, free: 173.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001676/1.805, allocations: 283.4 kB / 1.281 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.942/5.747, allocations: 0 / 1.281 GB, free: 172.9 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg_fmu --startTime=0 --stopTime=875 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowULg.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowULg.pipe 2>&1)