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.001304/0.001304, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001477/0.001477, allocations: 191.4 kB / 16.25 MB, free: 6.625 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.349/1.349, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002044/0.002044, allocations: 282.5 kB / 290.3 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8992/0.8992, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 89.67 kB / 0.5948 GB, free: 28.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1365, allocations: 86.98 MB / 0.6797 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.4362/0.5728, allocations: 211.9 MB / 0.8867 GB, free: 14.97 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0131/0.5859, allocations: 12.16 MB / 0.8986 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/0.587, allocations: 53.81 kB / 0.8986 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009798/0.588, allocations: 427.5 kB / 0.899 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003852/0.5918, allocations: 1.768 MB / 0.9008 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003873/0.5957, allocations: 1.779 MB / 0.9025 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002294/0.598, allocations: 2.39 MB / 0.9048 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001137/0.5992, allocations: 1.134 MB / 0.9059 GB, free: 60 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001104/0.6003, allocations: 0.84 MB / 0.9068 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006958/0.601, allocations: 0.7198 MB / 0.9075 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001153/0.6011, allocations: 88 kB / 0.9075 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004876/0.606, allocations: 3.263 MB / 0.9107 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004276/0.6065, allocations: 0.5415 MB / 0.9113 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006085/0.6071, allocations: 0.7309 MB / 0.912 GB, free: 9.934 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003953/0.611, allocations: 3.397 MB / 0.9153 GB, free: 6.523 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.6111, allocations: 0 / 0.9153 GB, free: 6.523 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.482e-06/0.6111, allocations: 0 / 0.9153 GB, free: 6.523 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.102e-05/0.6111, allocations: 3.984 kB / 0.9153 GB, free: 6.52 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.001958/0.613, allocations: 1.729 MB / 0.917 GB, free: 4.734 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.6131, allocations: 12.03 kB / 0.917 GB, free: 4.723 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000186/0.6133, allocations: 168.6 kB / 0.9172 GB, free: 4.547 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00161/0.6149, allocations: 373.8 kB / 0.9175 GB, free: 4.18 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/0.6161, allocations: 0.8916 MB / 0.9184 GB, free: 3.242 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.508e-05/0.6161, allocations: 78.03 kB / 0.9185 GB, free: 3.164 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/0.6162, allocations: 96 kB / 0.9185 GB, free: 3.07 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001989/0.6182, allocations: 1.517 MB / 0.92 GB, free: 1.441 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.377e-05/0.6183, allocations: 3.938 kB / 0.92 GB, free: 1.438 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.874e-05/0.6184, allocations: 48 kB / 0.9201 GB, free: 1.391 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.248e-05/0.6184, allocations: 61.48 kB / 0.9201 GB, free: 1.332 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001303/0.6197, allocations: 1.021 MB / 0.9211 GB, free: 316 kB / 0.6231 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.005672/0.6254, allocations: 5.923 MB / 0.9269 GB, free: 10.08 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005334/0.626, allocations: 322.1 kB / 0.9272 GB, free: 9.727 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002703/0.6263, allocations: 247.4 kB / 0.9275 GB, free: 9.473 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000658/0.6269, allocations: 0.7039 MB / 0.9281 GB, free: 8.621 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.627, allocations: 42.5 kB / 0.9282 GB, free: 8.57 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=28): time 1.693e-06/0.627, allocations: 4 kB / 0.9282 GB, free: 8.566 MB / 0.6387 GB Notification: Performance of matching and sorting (n=28): time 0.001181/0.6282, allocations: 0.6732 MB / 0.9288 GB, free: 7.887 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.308e-05/0.6282, allocations: 136.5 kB / 0.929 GB, free: 7.723 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001772/0.63, allocations: 1.662 MB / 0.9306 GB, free: 6.051 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.262e-05/0.63, allocations: 29.7 kB / 0.9306 GB, free: 6.016 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004353/0.6305, allocations: 0.5542 MB / 0.9312 GB, free: 5.457 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 7.748e-05/0.6306, allocations: 94.64 kB / 0.9313 GB, free: 5.363 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.6307, allocations: 69.61 kB / 0.9313 GB, free: 5.289 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.6308, allocations: 321.9 kB / 0.9316 GB, free: 4.969 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/0.631, allocations: 159.9 kB / 0.9318 GB, free: 4.812 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003152/0.6313, allocations: 291.2 kB / 0.9321 GB, free: 4.492 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004683/0.6318, allocations: 427.1 kB / 0.9325 GB, free: 4.039 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.6318, allocations: 3.938 kB / 0.9325 GB, free: 4.035 MB / 0.6387 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007019/0.6325, allocations: 0.57 MB / 0.933 GB, free: 3.457 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.6326, allocations: 8 kB / 0.933 GB, free: 3.449 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.6326, allocations: 4 kB / 0.933 GB, free: 3.445 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.6326, allocations: 4 kB / 0.933 GB, free: 3.441 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.6328, allocations: 55.91 kB / 0.9331 GB, free: 3.387 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.6328, allocations: 4 kB / 0.9331 GB, free: 3.383 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004624/0.6333, allocations: 114.5 kB / 0.9332 GB, free: 3.27 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.878e-05/0.6333, allocations: 28 kB / 0.9332 GB, free: 3.242 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.0003958/0.6337, allocations: 386.1 kB / 0.9336 GB, free: 2.855 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001991/0.6339, allocations: 134.4 kB / 0.9337 GB, free: 2.723 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005052/0.6345, allocations: 384.9 kB / 0.9341 GB, free: 2.324 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.6345, allocations: 4 kB / 0.9341 GB, free: 2.32 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.6345, allocations: 8 kB / 0.9341 GB, free: 2.312 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.6345, allocations: 3.984 kB / 0.9341 GB, free: 2.309 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00318/0.6377, allocations: 2.591 MB / 0.9366 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.6377, allocations: 8.031 kB / 0.9367 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001857/0.6379, allocations: 47.92 kB / 0.9367 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.539e-05/0.6379, allocations: 11.98 kB / 0.9367 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.443e-05/0.6379, allocations: 19.94 kB / 0.9367 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.114e-06/0.6379, allocations: 8 kB / 0.9367 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.638, allocations: 7.938 kB / 0.9367 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005998/0.6386, allocations: 0.6196 MB / 0.9374 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003218/0.6389, allocations: 291.2 kB / 0.9376 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001582/0.6391, allocations: 19.98 kB / 0.9376 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003698/0.6394, allocations: 19.91 kB / 0.9377 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.585e-05/0.6395, allocations: 35.84 kB / 0.9377 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.522e-05/0.6395, allocations: 16 kB / 0.9377 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00129/0.6408, allocations: 1.207 MB / 0.9389 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6408, allocations: 4 kB / 0.9389 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008205/0.6417, allocations: 335.8 kB / 0.9392 GB, free: 12.79 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.002254/0.6439, allocations: 1.692 MB / 0.9409 GB, free: 11 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004738/0.6444, allocations: 351.5 kB / 0.9412 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.6444, allocations: 0.5 kB / 0.9412 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001906/0.6446, allocations: 159.7 kB / 0.9414 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003447/0.6481, allocations: 0.9232 MB / 0.9423 GB, free: 9.609 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0142/0.6623, allocations: 11.65 MB / 0.9536 GB, free: 13.37 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007318/0.663, allocations: 1.204 MB / 0.9548 GB, free: 12.13 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008073/0.6638, allocations: 298.6 kB / 0.9551 GB, free: 11.84 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004825/0.6643, allocations: 459.3 kB / 0.9555 GB, free: 11.39 MB / 0.67 GB Notification: Performance of SimCode: time 2.064e-06/0.6643, allocations: 0 / 0.9555 GB, free: 11.39 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05904/0.7234, allocations: 42.68 MB / 0.9972 GB, free: 1.316 MB / 0.7012 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001648/0.7236, allocations: 262.6 kB / 0.9975 GB, free: 1.055 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.468/3.192, allocations: 2.5 kB / 0.9975 GB, free: 1.055 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)