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.0007446/0.0007446, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004095/0.004095, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.188/1.188, 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/NcDataReader2 2.5.1-master/package.mo): time 0.001615/0.001615, allocations: 262.9 kB / 291.7 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7908/0.7908, allocations: 169.5 MB / 0.5004 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003747/0.0003747, allocations: 17.97 kB / 0.5988 GB, free: 28.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1251, allocations: 88.54 MB / 0.6852 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.4207/0.5458, allocations: 209.6 MB / 0.8899 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0114/0.5573, allocations: 12.13 MB / 0.9018 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004938/0.5578, allocations: 43.62 kB / 0.9018 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007569/0.5586, allocations: 409.3 kB / 0.9022 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003038/0.5616, allocations: 1.762 MB / 0.9039 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002986/0.5646, allocations: 1.731 MB / 0.9056 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002237/0.5668, allocations: 3.073 MB / 0.9086 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009782/0.5678, allocations: 0.9875 MB / 0.9096 GB, free: 9.781 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007231/0.5686, allocations: 0.6883 MB / 0.9103 GB, free: 9.09 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006042/0.5692, allocations: 0.6611 MB / 0.9109 GB, free: 8.426 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 6.97e-05/0.5693, allocations: 36 kB / 0.9109 GB, free: 8.391 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004064/0.5733, allocations: 3.51 MB / 0.9144 GB, free: 4.867 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003463/0.5737, allocations: 490.5 kB / 0.9148 GB, free: 4.387 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004896/0.5742, allocations: 0.6701 MB / 0.9155 GB, free: 3.707 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002861/0.577, allocations: 3.307 MB / 0.9187 GB, free: 400 kB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.5771, allocations: 3.984 kB / 0.9187 GB, free: 396 kB / 0.6231 GB Notification: Performance of FrontEnd: time 1.093e-06/0.5771, allocations: 0 / 0.9187 GB, free: 396 kB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.5771, allocations: 0 / 0.9187 GB, free: 396 kB / 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.001479/0.5786, allocations: 1.437 MB / 0.9201 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.5786, allocations: 12.03 kB / 0.9201 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001519/0.5788, allocations: 168.6 kB / 0.9203 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00132/0.5801, allocations: 377.8 kB / 0.9207 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009962/0.5811, allocations: 0.8955 MB / 0.9215 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.217e-05/0.5812, allocations: 74.03 kB / 0.9216 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.5813, allocations: 103.9 kB / 0.9217 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001672/0.5829, allocations: 1.509 MB / 0.9232 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/0.583, allocations: 7.938 kB / 0.9232 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-05/0.5831, allocations: 47.98 kB / 0.9232 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.239e-05/0.5831, allocations: 61.48 kB / 0.9233 GB, free: 11.49 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001156/0.5843, allocations: 1.017 MB / 0.9243 GB, free: 10.48 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.004546/0.5888, allocations: 5.879 MB / 0.93 GB, free: 4.281 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004382/0.5893, allocations: 326.1 kB / 0.9303 GB, free: 3.926 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002429/0.5895, allocations: 247.7 kB / 0.9306 GB, free: 3.672 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005506/0.5901, allocations: 0.7117 MB / 0.9313 GB, free: 2.812 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.5901, allocations: 42.5 kB / 0.9313 GB, free: 2.762 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=28): time 1.383e-06/0.5901, allocations: 0 / 0.9313 GB, free: 2.762 MB / 0.6387 GB Notification: Performance of matching and sorting (n=28): time 0.001003/0.5911, allocations: 0.6697 MB / 0.932 GB, free: 2.086 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.69e-05/0.5912, allocations: 136.5 kB / 0.9321 GB, free: 1.922 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001601/0.5928, allocations: 1.654 MB / 0.9337 GB, free: 264 kB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.087e-05/0.5929, allocations: 33.7 kB / 0.9337 GB, free: 224 kB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004149/0.5933, allocations: 0.558 MB / 0.9343 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.811e-05/0.5933, allocations: 94.64 kB / 0.9344 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.5934, allocations: 29.75 kB / 0.9344 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.512e-05/0.5935, allocations: 317.9 kB / 0.9347 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001779/0.5937, allocations: 163.9 kB / 0.9349 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002711/0.5939, allocations: 283.2 kB / 0.9351 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004208/0.5944, allocations: 434.1 kB / 0.9355 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.5944, allocations: 0 / 0.9355 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006144/0.595, allocations: 0.5658 MB / 0.9361 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.595, allocations: 11.94 kB / 0.9361 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.595, allocations: 0 / 0.9361 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.595, allocations: 12.33 kB / 0.9361 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001925/0.5952, allocations: 59.91 kB / 0.9362 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.5953, allocations: 4 kB / 0.9362 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003877/0.5956, allocations: 106.6 kB / 0.9363 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.253e-05/0.5957, allocations: 20 kB / 0.9363 GB, free: 13.49 MB / 0.6544 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.0003576/0.5961, allocations: 386.1 kB / 0.9367 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000164/0.5962, allocations: 146.2 kB / 0.9368 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004676/0.5967, allocations: 376.9 kB / 0.9372 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.5967, allocations: 4 kB / 0.9372 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.5967, allocations: 0 / 0.9372 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.5967, allocations: 7.984 kB / 0.9372 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00261/0.5993, allocations: 2.559 MB / 0.9397 GB, free: 9.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.5994, allocations: 12.75 kB / 0.9397 GB, free: 9.809 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/0.5995, allocations: 51.91 kB / 0.9397 GB, free: 9.758 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.5995, allocations: 8 kB / 0.9397 GB, free: 9.75 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.5996, allocations: 19.94 kB / 0.9398 GB, free: 9.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.5996, allocations: 8 kB / 0.9398 GB, free: 9.723 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.5996, allocations: 7.938 kB / 0.9398 GB, free: 9.715 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005504/0.6001, allocations: 0.6197 MB / 0.9404 GB, free: 8.996 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000317/0.6005, allocations: 303.2 kB / 0.9407 GB, free: 8.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001312/0.6006, allocations: 19.92 kB / 0.9407 GB, free: 8.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003226/0.6009, allocations: 16 kB / 0.9407 GB, free: 8.645 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.949e-05/0.601, allocations: 31.86 kB / 0.9407 GB, free: 8.613 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.636e-05/0.601, allocations: 23.98 kB / 0.9408 GB, free: 8.59 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001206/0.6022, allocations: 1.203 MB / 0.9419 GB, free: 7.391 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.6022, allocations: 0 / 0.9419 GB, free: 7.391 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007307/0.603, allocations: 339.7 kB / 0.9423 GB, free: 7.059 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.001986/0.6049, allocations: 1.686 MB / 0.9439 GB, free: 5.273 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004061/0.6054, allocations: 339.5 kB / 0.9442 GB, free: 4.941 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.6054, allocations: 4 kB / 0.9442 GB, free: 4.938 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000172/0.6056, allocations: 160.5 kB / 0.9444 GB, free: 4.781 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004115/0.6097, allocations: 0.8817 MB / 0.9453 GB, free: 3.922 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01268/0.6224, allocations: 11.66 MB / 0.9566 GB, free: 7.676 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006689/0.623, allocations: 1.201 MB / 0.9578 GB, free: 6.445 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0006525/0.6237, allocations: 298.6 kB / 0.9581 GB, free: 6.148 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000438/0.6241, allocations: 463.3 kB / 0.9585 GB, free: 5.695 MB / 0.67 GB Notification: Performance of SimCode: time 3e-07/0.6242, allocations: 0 / 0.9585 GB, free: 5.695 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.079/2.704, allocations: 41.44 MB / 0.999 GB, free: 12.83 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003136/2.704, allocations: 257.9 kB / 0.9992 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.992/6.696, allocations: 4 kB / 0.9993 GB, free: 12.57 MB / 0.7169 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)