Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Validation_BoundaryWithXi_in",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.00115/0.00115, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001208/0.001208, allocations: 192.7 kB / 16.13 MB, free: 6.707 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.238/1.238, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001969/0.001969, allocations: 279.2 kB / 290.2 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8801/0.8801, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001593, allocations: 91.16 kB / 0.5946 GB, free: 28.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1385, allocations: 86.98 MB / 0.6795 GB, free: 1.094 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.4597/0.5982, allocations: 212.5 MB / 0.887 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01325/0.6115, allocations: 12.26 MB / 0.899 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00141/0.6129, allocations: 49.84 kB / 0.899 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001031/0.614, allocations: 400.1 kB / 0.8994 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00387/0.6179, allocations: 1.765 MB / 0.9012 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003724/0.6216, allocations: 1.734 MB / 0.9028 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002804/0.6244, allocations: 3.065 MB / 0.9058 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001131/0.6256, allocations: 1.031 MB / 0.9068 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00111/0.6267, allocations: 0.7272 MB / 0.9076 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007296/0.6274, allocations: 0.6963 MB / 0.9082 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001036/0.6275, allocations: 51.94 kB / 0.9083 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00575/0.6333, allocations: 3.534 MB / 0.9117 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004593/0.6338, allocations: 0.4908 MB / 0.9122 GB, free: 9.574 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006849/0.6345, allocations: 0.68 MB / 0.9129 GB, free: 8.891 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004713/0.6392, allocations: 3.331 MB / 0.9161 GB, free: 5.547 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.6392, allocations: 0 / 0.9161 GB, free: 5.547 MB / 0.6231 GB Notification: Performance of FrontEnd: time 7.81e-07/0.6392, allocations: 0 / 0.9161 GB, free: 5.547 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.49e-05/0.6392, allocations: 0 / 0.9161 GB, free: 5.547 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.002069/0.6413, allocations: 1.74 MB / 0.9178 GB, free: 3.75 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.6414, allocations: 12.03 kB / 0.9178 GB, free: 3.738 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001719/0.6415, allocations: 168.6 kB / 0.918 GB, free: 3.562 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001596/0.6431, allocations: 373.8 kB / 0.9184 GB, free: 3.195 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/0.6443, allocations: 0.8878 MB / 0.9192 GB, free: 2.262 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.396e-05/0.6443, allocations: 78.03 kB / 0.9193 GB, free: 2.184 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.6445, allocations: 96 kB / 0.9194 GB, free: 2.09 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00192/0.6464, allocations: 1.511 MB / 0.9209 GB, free: 480 kB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.6464, allocations: 0 / 0.9209 GB, free: 480 kB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.527e-05/0.6465, allocations: 55.92 kB / 0.9209 GB, free: 424 kB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.455e-05/0.6466, allocations: 61.48 kB / 0.921 GB, free: 364 kB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001322/0.6479, allocations: 1.017 MB / 0.922 GB, free: 15.34 MB / 0.6387 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.005722/0.6536, allocations: 5.932 MB / 0.9278 GB, free: 9.098 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005208/0.6542, allocations: 315 kB / 0.9281 GB, free: 8.754 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002712/0.6545, allocations: 255.5 kB / 0.9283 GB, free: 8.492 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006307/0.6551, allocations: 0.7077 MB / 0.929 GB, free: 7.637 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.6551, allocations: 38.56 kB / 0.929 GB, free: 7.59 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=28): time 2.675e-06/0.6551, allocations: 7.984 kB / 0.929 GB, free: 7.582 MB / 0.6387 GB Notification: Performance of matching and sorting (n=28): time 0.001206/0.6564, allocations: 0.6765 MB / 0.9297 GB, free: 6.898 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.6564, allocations: 132.5 kB / 0.9298 GB, free: 6.738 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001782/0.6582, allocations: 1.658 MB / 0.9315 GB, free: 5.07 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.161e-05/0.6582, allocations: 29.7 kB / 0.9315 GB, free: 5.035 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004482/0.6587, allocations: 0.5581 MB / 0.932 GB, free: 4.473 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 7.317e-05/0.6588, allocations: 94.64 kB / 0.9321 GB, free: 4.379 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.6589, allocations: 69.61 kB / 0.9322 GB, free: 4.305 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.659, allocations: 321.9 kB / 0.9325 GB, free: 3.984 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002126/0.6592, allocations: 163.9 kB / 0.9326 GB, free: 3.824 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003121/0.6595, allocations: 291.1 kB / 0.9329 GB, free: 3.504 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004682/0.66, allocations: 422 kB / 0.9333 GB, free: 3.055 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.66, allocations: 0 / 0.9333 GB, free: 3.055 MB / 0.6387 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007076/0.6607, allocations: 0.5661 MB / 0.9339 GB, free: 2.48 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.6608, allocations: 8 kB / 0.9339 GB, free: 2.473 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.6608, allocations: 7.938 kB / 0.9339 GB, free: 2.465 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.6608, allocations: 4 kB / 0.9339 GB, free: 2.461 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000219/0.661, allocations: 55.91 kB / 0.934 GB, free: 2.406 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.661, allocations: 7.938 kB / 0.934 GB, free: 2.398 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005048/0.6615, allocations: 110.5 kB / 0.9341 GB, free: 2.289 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.753e-05/0.6616, allocations: 24.03 kB / 0.9341 GB, free: 2.266 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (32): * Single equations (assignments): 32 * 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 prepare postOptimizeDAE: time 0.0004077/0.662, allocations: 386.1 kB / 0.9345 GB, free: 1.879 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000192/0.6622, allocations: 134.3 kB / 0.9346 GB, free: 1.746 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005136/0.6627, allocations: 385.3 kB / 0.935 GB, free: 1.352 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.6627, allocations: 0 / 0.935 GB, free: 1.352 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.6627, allocations: 4 kB / 0.935 GB, free: 1.348 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.6628, allocations: 7.984 kB / 0.935 GB, free: 1.34 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003293/0.6661, allocations: 2.599 MB / 0.9375 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.6661, allocations: 12.06 kB / 0.9375 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00018/0.6663, allocations: 51.91 kB / 0.9376 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/0.6663, allocations: 8 kB / 0.9376 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/0.6663, allocations: 15.94 kB / 0.9376 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.276e-06/0.6663, allocations: 11.94 kB / 0.9376 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.289e-05/0.6663, allocations: 11.94 kB / 0.9376 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006141/0.667, allocations: 0.6118 MB / 0.9382 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000356/0.6673, allocations: 295.2 kB / 0.9385 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001656/0.6675, allocations: 11.98 kB / 0.9385 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003669/0.6679, allocations: 27.84 kB / 0.9385 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.868e-05/0.6679, allocations: 39.78 kB / 0.9386 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.904e-05/0.668, allocations: 16 kB / 0.9386 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001319/0.6693, allocations: 1.207 MB / 0.9398 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6693, allocations: 0 / 0.9398 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008828/0.6702, allocations: 331.8 kB / 0.9401 GB, free: 11.8 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (26): * Single equations (assignments): 26 * 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.002269/0.6724, allocations: 1.679 MB / 0.9417 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004734/0.6729, allocations: 351.5 kB / 0.942 GB, free: 9.691 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.6729, allocations: 4.5 kB / 0.9421 GB, free: 9.688 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001866/0.6731, allocations: 159.6 kB / 0.9422 GB, free: 9.531 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003351/0.6765, allocations: 0.8699 MB / 0.9431 GB, free: 8.68 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01467/0.6912, allocations: 11.65 MB / 0.9544 GB, free: 12.43 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000775/0.692, allocations: 1.205 MB / 0.9556 GB, free: 11.2 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009691/0.693, allocations: 299 kB / 0.9559 GB, free: 10.9 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005051/0.6935, allocations: 455.3 kB / 0.9563 GB, free: 10.46 MB / 0.67 GB Notification: Performance of SimCode: time 7.41e-07/0.6935, allocations: 0 / 0.9563 GB, free: 10.46 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05836/0.7518, allocations: 41.76 MB / 0.9971 GB, free: 1.242 MB / 0.7012 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001947/0.7521, allocations: 263.6 kB / 0.9974 GB, free: 0.9844 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.467/3.219, allocations: 0 / 0.9974 GB, free: 0.9844 MB / 0.7012 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Validation_BoundaryWithXi_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1)