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.0007893/0.0007894, 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.005845/0.005845, allocations: 170 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.311/1.311, allocations: 223.2 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001803/0.001803, allocations: 270.4 kB / 291.7 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.972/0.972, allocations: 169.5 MB / 0.5004 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005793/0.0005793, allocations: 12.22 kB / 0.5988 GB, free: 28.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1462, allocations: 88.54 MB / 0.6852 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in): time 0.4739/0.6201, allocations: 209.6 MB / 0.8899 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0132/0.6333, allocations: 12.13 MB / 0.9018 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001245/0.6346, allocations: 43.62 kB / 0.9018 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.6357, allocations: 409.3 kB / 0.9022 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003863/0.6396, allocations: 1.766 MB / 0.9039 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003569/0.6431, allocations: 1.731 MB / 0.9056 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00257/0.6457, allocations: 3.046 MB / 0.9086 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001065/0.6468, allocations: 1.012 MB / 0.9096 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007992/0.6476, allocations: 0.6766 MB / 0.9102 GB, free: 9.422 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006345/0.6483, allocations: 0.665 MB / 0.9109 GB, free: 8.754 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 7.479e-05/0.6483, allocations: 36 kB / 0.9109 GB, free: 8.719 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004692/0.653, allocations: 3.51 MB / 0.9144 GB, free: 5.195 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003636/0.6534, allocations: 494.6 kB / 0.9148 GB, free: 4.711 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005286/0.654, allocations: 0.6739 MB / 0.9155 GB, free: 4.027 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00318/0.6571, allocations: 3.326 MB / 0.9187 GB, free: 0.6914 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.6572, allocations: 0 / 0.9187 GB, free: 0.6914 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6572, allocations: 3.938 kB / 0.9187 GB, free: 0.6875 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.44e-05/0.6572, allocations: 0 / 0.9187 GB, free: 0.6875 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.001624/0.6588, allocations: 1.448 MB / 0.9202 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.6589, allocations: 8.031 kB / 0.9202 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001677/0.659, allocations: 168.8 kB / 0.9203 GB, free: 15 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001426/0.6605, allocations: 377.8 kB / 0.9207 GB, free: 14.63 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.6615, allocations: 0.8956 MB / 0.9216 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.171e-05/0.6616, allocations: 78.06 kB / 0.9216 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/0.6617, allocations: 104 kB / 0.9217 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001855/0.6636, allocations: 1.535 MB / 0.9232 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.486e-05/0.6636, allocations: 7.938 kB / 0.9232 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-05/0.6637, allocations: 51.94 kB / 0.9233 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.305e-05/0.6638, allocations: 65.47 kB / 0.9233 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001258/0.6651, allocations: 1.021 MB / 0.9243 GB, free: 10.72 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.00491/0.67, allocations: 5.914 MB / 0.9301 GB, free: 4.496 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004685/0.6705, allocations: 322.9 kB / 0.9304 GB, free: 4.145 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002675/0.6707, allocations: 243.4 kB / 0.9307 GB, free: 3.895 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005816/0.6713, allocations: 0.7116 MB / 0.9314 GB, free: 3.035 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.6714, allocations: 42.55 kB / 0.9314 GB, free: 2.984 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=28): time 1.523e-06/0.6714, allocations: 4 kB / 0.9314 GB, free: 2.98 MB / 0.6387 GB Notification: Performance of matching and sorting (n=28): time 0.001084/0.6725, allocations: 0.6679 MB / 0.9321 GB, free: 2.305 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.592e-05/0.6725, allocations: 136.5 kB / 0.9322 GB, free: 2.141 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001734/0.6743, allocations: 1.682 MB / 0.9338 GB, free: 460 kB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.8e-05/0.6743, allocations: 37.7 kB / 0.9339 GB, free: 416 kB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004386/0.6748, allocations: 0.5624 MB / 0.9344 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.831e-05/0.6748, allocations: 98.41 kB / 0.9345 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.136e-05/0.6749, allocations: 29.7 kB / 0.9345 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.161e-05/0.675, allocations: 314 kB / 0.9348 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000189/0.6752, allocations: 159.9 kB / 0.935 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002674/0.6754, allocations: 269.6 kB / 0.9352 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004337/0.6759, allocations: 404.3 kB / 0.9356 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.6759, allocations: 4 kB / 0.9356 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006485/0.6765, allocations: 0.5347 MB / 0.9362 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.6766, allocations: 8 kB / 0.9362 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.6766, allocations: 3.984 kB / 0.9362 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.6766, allocations: 4 kB / 0.9362 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002404/0.6768, allocations: 51.92 kB / 0.9362 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.936e-06/0.6769, allocations: 16.06 kB / 0.9362 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004424/0.6773, allocations: 118.5 kB / 0.9363 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.554e-05/0.6774, allocations: 16 kB / 0.9364 GB, free: 13.76 MB / 0.6544 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.0003954/0.6778, allocations: 382.2 kB / 0.9367 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001839/0.6779, allocations: 134.3 kB / 0.9369 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005131/0.6785, allocations: 393.6 kB / 0.9372 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.6785, allocations: 8.047 kB / 0.9372 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.6785, allocations: 4 kB / 0.9372 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.6785, allocations: 3.938 kB / 0.9372 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002976/0.6815, allocations: 2.564 MB / 0.9397 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.737e-06/0.6815, allocations: 7.938 kB / 0.9398 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00018/0.6817, allocations: 51.86 kB / 0.9398 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.757e-05/0.6817, allocations: 12.8 kB / 0.9398 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.205e-05/0.6817, allocations: 12 kB / 0.9398 GB, free: 9.996 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.195e-06/0.6818, allocations: 15.94 kB / 0.9398 GB, free: 9.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.6818, allocations: 8 kB / 0.9399 GB, free: 9.973 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006397/0.6824, allocations: 0.6196 MB / 0.9405 GB, free: 9.254 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003701/0.6828, allocations: 307.2 kB / 0.9407 GB, free: 8.934 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/0.6829, allocations: 12 kB / 0.9408 GB, free: 8.922 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003571/0.6833, allocations: 23.89 kB / 0.9408 GB, free: 8.898 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.666e-05/0.6834, allocations: 31.86 kB / 0.9408 GB, free: 8.867 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.009e-05/0.6834, allocations: 20 kB / 0.9408 GB, free: 8.848 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001402/0.6848, allocations: 1.223 MB / 0.942 GB, free: 7.629 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6848, allocations: 0 / 0.942 GB, free: 7.629 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009183/0.6857, allocations: 339.8 kB / 0.9424 GB, free: 7.297 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.002385/0.6881, allocations: 1.679 MB / 0.944 GB, free: 5.523 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004604/0.6886, allocations: 339.5 kB / 0.9443 GB, free: 5.191 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.728e-06/0.6886, allocations: 3.938 kB / 0.9443 GB, free: 5.188 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001855/0.6888, allocations: 165.3 kB / 0.9445 GB, free: 5.027 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004538/0.6934, allocations: 0.8825 MB / 0.9453 GB, free: 4.164 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01393/0.7073, allocations: 11.81 MB / 0.9569 GB, free: 7.777 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006955/0.708, allocations: 1.205 MB / 0.958 GB, free: 6.543 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008206/0.7088, allocations: 302.7 kB / 0.9583 GB, free: 6.242 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004741/0.7093, allocations: 459.3 kB / 0.9588 GB, free: 5.797 MB / 0.67 GB Notification: Performance of SimCode: time 6.31e-07/0.7093, allocations: 3.938 kB / 0.9588 GB, free: 5.793 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.046/2.755, allocations: 41.66 MB / 0.9995 GB, free: 12.7 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002092/2.756, allocations: 252.7 kB / 0.9997 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.732/5.488, allocations: 0 / 0.9997 GB, free: 12.45 MB / 0.7169 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)