Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_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.BoundaryWithX_in,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Validation_BoundaryWithX_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.001166/0.001166, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00122/0.00122, allocations: 193.8 kB / 16.14 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.258/1.258, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001936/0.001936, allocations: 290.9 kB / 290.2 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.895/0.895, allocations: 169.2 MB / 0.4977 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00157/0.00157, allocations: 93.25 kB / 0.5946 GB, free: 28.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1387, allocations: 86.98 MB / 0.6795 GB, free: 1.055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in): time 0.4634/0.6021, allocations: 212.5 MB / 0.887 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01367/0.6159, allocations: 12.26 MB / 0.899 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001489/0.6174, allocations: 46.59 kB / 0.899 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001076/0.6185, allocations: 407.7 kB / 0.8994 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003882/0.6224, allocations: 1.764 MB / 0.9012 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003629/0.626, allocations: 1.734 MB / 0.9028 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002658/0.6287, allocations: 3.044 MB / 0.9058 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001156/0.6299, allocations: 1.058 MB / 0.9069 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001038/0.6309, allocations: 0.7156 MB / 0.9076 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006973/0.6316, allocations: 0.7119 MB / 0.9082 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.6317, allocations: 48 kB / 0.9083 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005687/0.6374, allocations: 3.526 MB / 0.9117 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004801/0.6379, allocations: 0.5025 MB / 0.9122 GB, free: 9.527 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006832/0.6386, allocations: 0.6801 MB / 0.9129 GB, free: 8.844 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004376/0.643, allocations: 3.354 MB / 0.9162 GB, free: 5.477 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.643, allocations: 0 / 0.9162 GB, free: 5.477 MB / 0.6231 GB Notification: Performance of FrontEnd: time 8.92e-07/0.643, allocations: 0 / 0.9162 GB, free: 5.477 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.579e-05/0.643, allocations: 0 / 0.9162 GB, free: 5.477 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002051/0.6451, allocations: 1.76 MB / 0.9179 GB, free: 3.66 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.6451, allocations: 8.031 kB / 0.9179 GB, free: 3.652 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001746/0.6453, allocations: 172.8 kB / 0.9181 GB, free: 3.473 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001614/0.6469, allocations: 381.8 kB / 0.9184 GB, free: 3.098 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/0.6481, allocations: 0.8878 MB / 0.9193 GB, free: 2.168 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.307e-05/0.6482, allocations: 82 kB / 0.9194 GB, free: 2.086 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.6483, allocations: 100 kB / 0.9195 GB, free: 1.988 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001919/0.6502, allocations: 1.529 MB / 0.921 GB, free: 356 kB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.6502, allocations: 3.938 kB / 0.921 GB, free: 352 kB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.859e-05/0.6503, allocations: 48 kB / 0.921 GB, free: 304 kB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.29e-05/0.6504, allocations: 65.42 kB / 0.9211 GB, free: 240 kB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00132/0.6517, allocations: 1.022 MB / 0.9221 GB, free: 15.21 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.005718/0.6575, allocations: 5.967 MB / 0.9279 GB, free: 8.934 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005482/0.658, allocations: 318.2 kB / 0.9282 GB, free: 8.586 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002694/0.6583, allocations: 243.4 kB / 0.9284 GB, free: 8.336 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006535/0.659, allocations: 0.712 MB / 0.9291 GB, free: 7.477 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.659, allocations: 42.5 kB / 0.9292 GB, free: 7.426 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=28): time 1.723e-06/0.659, allocations: 0 / 0.9292 GB, free: 7.426 MB / 0.6387 GB Notification: Performance of matching and sorting (n=28): time 0.001221/0.6602, allocations: 0.6719 MB / 0.9298 GB, free: 6.746 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.868e-05/0.6603, allocations: 140.5 kB / 0.93 GB, free: 6.578 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001839/0.6622, allocations: 1.686 MB / 0.9316 GB, free: 4.883 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.217e-05/0.6622, allocations: 29.7 kB / 0.9316 GB, free: 4.848 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004633/0.6627, allocations: 0.5583 MB / 0.9322 GB, free: 4.285 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 6.904e-05/0.6628, allocations: 94.59 kB / 0.9323 GB, free: 4.191 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.6629, allocations: 73.64 kB / 0.9323 GB, free: 4.113 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.663, allocations: 318 kB / 0.9326 GB, free: 3.797 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002006/0.6632, allocations: 155.9 kB / 0.9328 GB, free: 3.645 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002924/0.6635, allocations: 270.1 kB / 0.933 GB, free: 3.352 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004551/0.664, allocations: 408.2 kB / 0.9334 GB, free: 2.922 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.664, allocations: 4 kB / 0.9334 GB, free: 2.918 MB / 0.6387 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006847/0.6647, allocations: 0.5387 MB / 0.934 GB, free: 2.371 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.6647, allocations: 4 kB / 0.934 GB, free: 2.367 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.6647, allocations: 4 kB / 0.934 GB, free: 2.363 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.6647, allocations: 4 kB / 0.934 GB, free: 2.359 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/0.6649, allocations: 51.91 kB / 0.934 GB, free: 2.309 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.6649, allocations: 7.938 kB / 0.934 GB, free: 2.301 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005008/0.6655, allocations: 114.7 kB / 0.9341 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.864e-05/0.6655, allocations: 20 kB / 0.9342 GB, free: 2.168 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (30): * Single equations (assignments): 30 * 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.0004342/0.6659, allocations: 386.2 kB / 0.9345 GB, free: 1.781 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001937/0.6661, allocations: 142.2 kB / 0.9347 GB, free: 1.641 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005147/0.6667, allocations: 385.4 kB / 0.935 GB, free: 1.242 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.6667, allocations: 4 kB / 0.935 GB, free: 1.238 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.6667, allocations: 3.938 kB / 0.935 GB, free: 1.234 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.6667, allocations: 7.984 kB / 0.935 GB, free: 1.227 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003307/0.67, allocations: 2.611 MB / 0.9376 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.67, allocations: 8 kB / 0.9376 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000189/0.6702, allocations: 51.86 kB / 0.9377 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/0.6702, allocations: 7.938 kB / 0.9377 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/0.6703, allocations: 16 kB / 0.9377 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.785e-06/0.6703, allocations: 11.98 kB / 0.9377 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.6703, allocations: 7.938 kB / 0.9377 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00062/0.6709, allocations: 0.62 MB / 0.9383 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003569/0.6713, allocations: 295.3 kB / 0.9386 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001568/0.6714, allocations: 12 kB / 0.9386 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003704/0.6718, allocations: 23.89 kB / 0.9386 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.566e-05/0.6719, allocations: 31.86 kB / 0.9386 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-05/0.6719, allocations: 20 kB / 0.9387 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001366/0.6733, allocations: 1.223 MB / 0.9399 GB, free: 12 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6733, allocations: 0 / 0.9399 GB, free: 12 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009198/0.6742, allocations: 343.7 kB / 0.9402 GB, free: 11.66 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.002271/0.6765, allocations: 1.681 MB / 0.9418 GB, free: 9.891 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004857/0.677, allocations: 347.5 kB / 0.9422 GB, free: 9.551 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.677, allocations: 0 / 0.9422 GB, free: 9.551 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001792/0.6772, allocations: 157.2 kB / 0.9423 GB, free: 9.398 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00333/0.6805, allocations: 0.8731 MB / 0.9432 GB, free: 8.539 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01487/0.6954, allocations: 11.78 MB / 0.9547 GB, free: 12.18 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007476/0.6962, allocations: 1.212 MB / 0.9558 GB, free: 10.94 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.000934/0.6971, allocations: 299 kB / 0.9561 GB, free: 10.64 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004942/0.6976, allocations: 463.3 kB / 0.9566 GB, free: 10.19 MB / 0.67 GB Notification: Performance of SimCode: time 4.81e-07/0.6976, allocations: 0 / 0.9566 GB, free: 10.19 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05928/0.7569, allocations: 41.99 MB / 0.9976 GB, free: 0.7539 MB / 0.7012 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002095/0.7572, allocations: 256.7 kB / 0.9978 GB, free: 0.5 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.435/3.192, allocations: 3.625 kB / 0.9978 GB, free: 0.5 MB / 0.7012 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Validation_BoundaryWithX_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Validation_BoundaryWithX_in.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1)