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.004288/0.004288, allocations: 99.44 kB / 15.73 MB, free: 5.562 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.001024/0.001024, allocations: 192.7 kB / 16.67 MB, free: 5.488 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.225/1.225, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001995/0.001995, allocations: 280.9 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.873/0.873, allocations: 169.3 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 99.84 kB / 0.6809 GB, free: 7.52 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3963/0.3982, allocations: 86.98 MB / 0.7659 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in): time 0.6177/1.016, allocations: 214 MB / 0.9749 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01194/1.028, allocations: 12.16 MB / 0.9868 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001493/1.029, allocations: 49.34 kB / 0.9868 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001075/1.031, allocations: 0.5021 MB / 0.9873 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003975/1.035, allocations: 1.882 MB / 0.9892 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003904/1.039, allocations: 1.901 MB / 0.991 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002925/1.041, allocations: 2.355 MB / 0.9933 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001402/1.043, allocations: 1.234 MB / 0.9945 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001332/1.044, allocations: 0.8264 MB / 0.9953 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008531/1.045, allocations: 0.6557 MB / 0.996 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001318/1.045, allocations: 91 kB / 0.9961 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00497/1.05, allocations: 2.699 MB / 0.9987 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000473/1.051, allocations: 0.5432 MB / 0.9992 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007874/1.051, allocations: 0.7305 MB / 0.9999 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006172/1.058, allocations: 3.134 MB / 1.003 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/1.058, allocations: 0 / 1.003 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.394e-06/1.058, allocations: 3.688 kB / 1.003 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.872e-05/1.058, allocations: 0 / 1.003 GB, free: 1.102 MB / 0.7169 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.002923/1.061, allocations: 1.752 MB / 1.005 GB, free: 16.17 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/1.061, allocations: 8.312 kB / 1.005 GB, free: 16.17 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001755/1.061, allocations: 176.2 kB / 1.005 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001744/1.063, allocations: 373.1 kB / 1.005 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00168/1.064, allocations: 0.9618 MB / 1.006 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.673e-05/1.064, allocations: 79.88 kB / 1.006 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/1.065, allocations: 102.5 kB / 1.006 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001966/1.067, allocations: 1.527 MB / 1.008 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.577e-05/1.067, allocations: 13.19 kB / 1.008 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.899e-05/1.067, allocations: 48.66 kB / 1.008 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.131e-05/1.067, allocations: 57.25 kB / 1.008 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001222/1.068, allocations: 1.025 MB / 1.009 GB, free: 15.38 MB / 0.7325 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.005944/1.074, allocations: 5.848 MB / 1.015 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005602/1.075, allocations: 320.2 kB / 1.015 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000328/1.075, allocations: 247.5 kB / 1.015 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007788/1.076, allocations: 0.708 MB / 1.016 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.153e-05/1.076, allocations: 44.53 kB / 1.016 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=28): time 2.985e-06/1.076, allocations: 0.8125 kB / 1.016 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of matching and sorting (n=28): time 0.001478/1.077, allocations: 0.6752 MB / 1.017 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.088e-05/1.077, allocations: 136 kB / 1.017 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002043/1.079, allocations: 1.68 MB / 1.018 GB, free: 10.58 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.085e-05/1.079, allocations: 35.42 kB / 1.018 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004262/1.08, allocations: 0.5573 MB / 1.019 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.835e-05/1.08, allocations: 98.3 kB / 1.019 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/1.08, allocations: 69.36 kB / 1.019 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001002/1.08, allocations: 315.4 kB / 1.019 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/1.08, allocations: 160.3 kB / 1.02 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002693/1.081, allocations: 268.7 kB / 1.02 GB, free: 9.969 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004054/1.081, allocations: 413.5 kB / 1.02 GB, free: 9.887 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/1.081, allocations: 0 / 1.02 GB, free: 9.887 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006151/1.082, allocations: 0.5427 MB / 1.021 GB, free: 9.785 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/1.082, allocations: 9.938 kB / 1.021 GB, free: 9.781 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/1.082, allocations: 1.812 kB / 1.021 GB, free: 9.781 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/1.082, allocations: 4.281 kB / 1.021 GB, free: 9.781 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/1.082, allocations: 54.61 kB / 1.021 GB, free: 9.781 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/1.082, allocations: 7.484 kB / 1.021 GB, free: 9.781 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005834/1.083, allocations: 109.8 kB / 1.021 GB, free: 9.707 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.424e-05/1.083, allocations: 19.33 kB / 1.021 GB, free: 9.707 MB / 0.7325 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.000409/1.083, allocations: 380.8 kB / 1.021 GB, free: 9.594 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002037/1.083, allocations: 142 kB / 1.021 GB, free: 9.516 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005095/1.084, allocations: 385.5 kB / 1.022 GB, free: 9.426 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.85e-06/1.084, allocations: 5.656 kB / 1.022 GB, free: 9.426 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/1.084, allocations: 3 kB / 1.022 GB, free: 9.426 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/1.084, allocations: 0.9062 kB / 1.022 GB, free: 9.426 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00302/1.087, allocations: 2.519 MB / 1.024 GB, free: 8.465 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.407e-06/1.087, allocations: 10 kB / 1.024 GB, free: 8.461 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001715/1.087, allocations: 50.86 kB / 1.024 GB, free: 8.461 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.477e-06/1.087, allocations: 7.75 kB / 1.024 GB, free: 8.461 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/1.087, allocations: 18.75 kB / 1.024 GB, free: 8.457 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.234e-06/1.087, allocations: 11.02 kB / 1.024 GB, free: 8.457 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/1.087, allocations: 10.62 kB / 1.024 GB, free: 8.457 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006104/1.088, allocations: 0.6274 MB / 1.025 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004659/1.088, allocations: 300.3 kB / 1.025 GB, free: 7.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001595/1.088, allocations: 13.19 kB / 1.025 GB, free: 7.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003382/1.089, allocations: 11.72 kB / 1.025 GB, free: 7.93 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.029e-05/1.089, allocations: 37.78 kB / 1.025 GB, free: 7.922 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.953e-05/1.089, allocations: 17.41 kB / 1.025 GB, free: 7.922 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001279/1.09, allocations: 1.228 MB / 1.027 GB, free: 7.812 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.9e-07/1.09, allocations: 0 / 1.027 GB, free: 7.812 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009475/1.091, allocations: 332.2 kB / 1.027 GB, free: 7.777 MB / 0.7325 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.002011/1.093, allocations: 1.658 MB / 1.029 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004632/1.093, allocations: 354 kB / 1.029 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.093, allocations: 2.75 kB / 1.029 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001643/1.094, allocations: 159.7 kB / 1.029 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003397/1.097, allocations: 0.918 MB / 1.03 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01148/1.109, allocations: 10.48 MB / 1.04 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000767/1.109, allocations: 1.208 MB / 1.041 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001021/1.11, allocations: 303.6 kB / 1.042 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005077/1.111, allocations: 462.8 kB / 1.042 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of SimCode: time 7.01e-07/1.111, allocations: 0 / 1.042 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07256/1.183, allocations: 43.71 MB / 1.085 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.629/10.81, allocations: 18.38 kB / 1.085 GB, free: 9.18 MB / 0.7794 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)