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.004681/0.004681, allocations: 101 kB / 15.73 MB, free: 6.059 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.00121/0.00121, allocations: 197.1 kB / 16.67 MB, free: 5.969 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002412/0.002412, allocations: 289.1 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9897/0.9897, allocations: 169.3 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002707/0.002708, allocations: 91.86 kB / 0.681 GB, free: 7.473 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3953/0.398, allocations: 86.97 MB / 0.7659 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in): time 0.5574/0.9554, allocations: 214.1 MB / 0.9749 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01003/0.9655, allocations: 12.15 MB / 0.9868 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001079/0.9666, allocations: 47.22 kB / 0.9868 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009191/0.9676, allocations: 0.5052 MB / 0.9873 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003283/0.9708, allocations: 1.881 MB / 0.9892 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003253/0.9741, allocations: 1.903 MB / 0.991 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001757/0.9759, allocations: 2.359 MB / 0.9933 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001104/0.977, allocations: 1.233 MB / 0.9945 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008505/0.9779, allocations: 0.8284 MB / 0.9954 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005582/0.9784, allocations: 0.6587 MB / 0.996 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001/0.9785, allocations: 93.8 kB / 0.9961 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003569/0.9821, allocations: 2.694 MB / 0.9987 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003315/0.9824, allocations: 0.5458 MB / 0.9992 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005427/0.983, allocations: 0.7321 MB / 1 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002751/0.9858, allocations: 3.154 MB / 1.003 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.9858, allocations: 0.6562 kB / 1.003 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.132e-06/0.9858, allocations: 1.062 kB / 1.003 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.494e-05/0.9858, allocations: 3.188 kB / 1.003 GB, free: 1.09 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.001637/0.9874, allocations: 1.791 MB / 1.005 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.9875, allocations: 10.06 kB / 1.005 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001484/0.9876, allocations: 170.4 kB / 1.005 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001394/0.989, allocations: 384.3 kB / 1.005 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/0.9902, allocations: 0.9783 MB / 1.006 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.958e-05/0.9902, allocations: 75.78 kB / 1.006 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.9903, allocations: 103.5 kB / 1.006 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001582/0.9919, allocations: 1.531 MB / 1.008 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.273e-05/0.992, allocations: 7.812 kB / 1.008 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.067e-05/0.992, allocations: 45.69 kB / 1.008 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.167e-05/0.9921, allocations: 62.14 kB / 1.008 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/0.9932, allocations: 1.021 MB / 1.009 GB, free: 15.31 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.005017/0.9982, allocations: 5.861 MB / 1.015 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006158/0.9989, allocations: 319.2 kB / 1.015 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000364/0.9992, allocations: 247.6 kB / 1.015 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007195/1, allocations: 0.7119 MB / 1.016 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/1, allocations: 41.72 kB / 1.016 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=28): time 1.653e-06/1, allocations: 0 / 1.016 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of matching and sorting (n=28): time 0.001055/1.001, allocations: 0.6752 MB / 1.017 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.34e-05/1.001, allocations: 135 kB / 1.017 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001503/1.003, allocations: 1.682 MB / 1.018 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.978e-05/1.003, allocations: 33.77 kB / 1.019 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003615/1.003, allocations: 0.5663 MB / 1.019 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.096e-05/1.003, allocations: 94.67 kB / 1.019 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.165e-05/1.003, allocations: 67.5 kB / 1.019 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001223/1.003, allocations: 318.4 kB / 1.02 GB, free: 9.965 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/1.004, allocations: 158.7 kB / 1.02 GB, free: 9.961 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002495/1.004, allocations: 272.6 kB / 1.02 GB, free: 9.879 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003785/1.004, allocations: 406.3 kB / 1.02 GB, free: 9.801 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/1.004, allocations: 6.656 kB / 1.02 GB, free: 9.797 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005742/1.005, allocations: 0.5538 MB / 1.021 GB, free: 9.688 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/1.005, allocations: 8.25 kB / 1.021 GB, free: 9.684 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/1.005, allocations: 4.031 kB / 1.021 GB, free: 9.684 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/1.005, allocations: 7.391 kB / 1.021 GB, free: 9.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002033/1.005, allocations: 55.64 kB / 1.021 GB, free: 9.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/1.005, allocations: 2.562 kB / 1.021 GB, free: 9.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004539/1.006, allocations: 113.6 kB / 1.021 GB, free: 9.602 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.513e-05/1.006, allocations: 20.83 kB / 1.021 GB, free: 9.602 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.0003555/1.006, allocations: 381.5 kB / 1.021 GB, free: 9.488 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001951/1.006, allocations: 144 kB / 1.022 GB, free: 9.406 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004586/1.007, allocations: 399.7 kB / 1.022 GB, free: 9.309 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/1.007, allocations: 3.906 kB / 1.022 GB, free: 9.309 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/1.007, allocations: 2.812 kB / 1.022 GB, free: 9.309 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.686e-06/1.007, allocations: 0.9062 kB / 1.022 GB, free: 9.309 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002861/1.009, allocations: 2.518 MB / 1.024 GB, free: 8.348 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/1.01, allocations: 7.375 kB / 1.024 GB, free: 8.348 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001698/1.01, allocations: 54.27 kB / 1.024 GB, free: 8.344 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/1.01, allocations: 8.969 kB / 1.025 GB, free: 8.344 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.91e-05/1.01, allocations: 11.22 kB / 1.025 GB, free: 8.344 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/1.01, allocations: 12.69 kB / 1.025 GB, free: 8.344 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/1.01, allocations: 10.03 kB / 1.025 GB, free: 8.344 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005891/1.01, allocations: 0.6304 MB / 1.025 GB, free: 7.988 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003555/1.011, allocations: 298.8 kB / 1.025 GB, free: 7.812 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001387/1.011, allocations: 17.69 kB / 1.025 GB, free: 7.809 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003687/1.011, allocations: 12.59 kB / 1.025 GB, free: 7.809 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.017e-05/1.011, allocations: 40.95 kB / 1.026 GB, free: 7.801 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.423e-05/1.011, allocations: 15.06 kB / 1.026 GB, free: 7.801 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001204/1.013, allocations: 1.228 MB / 1.027 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/1.013, allocations: 0 / 1.027 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009629/1.013, allocations: 327.5 kB / 1.027 GB, free: 7.656 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.001918/1.015, allocations: 1.672 MB / 1.029 GB, free: 6.676 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004173/1.016, allocations: 354.2 kB / 1.029 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.016, allocations: 0 / 1.029 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001584/1.016, allocations: 162.8 kB / 1.029 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003107/1.019, allocations: 0.9283 MB / 1.03 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01038/1.03, allocations: 10.53 MB / 1.04 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007223/1.03, allocations: 1.206 MB / 1.042 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000712/1.031, allocations: 295.2 kB / 1.042 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005053/1.031, allocations: 466.2 kB / 1.042 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of SimCode: time 5.21e-07/1.031, allocations: 0 / 1.042 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6544/1.686, allocations: 44.05 MB / 1.085 GB, free: 8.645 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.99/16.68, allocations: 6.281 kB / 1.085 GB, free: 8.641 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)