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.005293/0.005293, allocations: 100.2 kB / 15.73 MB, free: 6.469 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.001227/0.001227, allocations: 193.1 kB / 16.67 MB, free: 6.379 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.255/1.255, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002046/0.002046, allocations: 290.9 kB / 290.8 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.918/0.918, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 91.86 kB / 0.681 GB, free: 8 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.166, allocations: 86.97 MB / 0.7659 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Validation.BoundaryWithX_in): time 0.5423/0.7083, allocations: 214.1 MB / 0.9749 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01346/0.7218, allocations: 12.16 MB / 0.9868 GB, free: 0.6953 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001167/0.723, allocations: 43.69 kB / 0.9869 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001101/0.7241, allocations: 0.5158 MB / 0.9874 GB, free: 136 kB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004054/0.7282, allocations: 1.874 MB / 0.9892 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003983/0.7322, allocations: 1.908 MB / 0.9911 GB, free: 12.35 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002625/0.7349, allocations: 2.348 MB / 0.9933 GB, free: 9.996 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001443/0.7363, allocations: 1.237 MB / 0.9946 GB, free: 8.75 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001046/0.7374, allocations: 0.8405 MB / 0.9954 GB, free: 7.906 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006615/0.7381, allocations: 0.6496 MB / 0.996 GB, free: 7.254 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001079/0.7382, allocations: 88 kB / 0.9961 GB, free: 7.168 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004616/0.7428, allocations: 2.7 MB / 0.9987 GB, free: 4.461 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0004527/0.7433, allocations: 0.5454 MB / 0.9993 GB, free: 3.914 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0006717/0.7439, allocations: 0.7425 MB / 1 GB, free: 3.168 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.003763/0.7477, allocations: 3.14 MB / 1.003 GB, free: 20 kB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.7477, allocations: 0 / 1.003 GB, free: 20 kB / 0.7481 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7477, allocations: 0 / 1.003 GB, free: 20 kB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.246e-05/0.7478, allocations: 0 / 1.003 GB, free: 20 kB / 0.7481 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.00234/0.7501, allocations: 1.752 MB / 1.005 GB, free: 14.21 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.7502, allocations: 8.031 kB / 1.005 GB, free: 14.2 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001855/0.7504, allocations: 168.8 kB / 1.005 GB, free: 14.03 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001617/0.752, allocations: 377.8 kB / 1.005 GB, free: 13.66 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001342/0.7533, allocations: 0.9619 MB / 1.006 GB, free: 12.65 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.106e-05/0.7534, allocations: 78.06 kB / 1.006 GB, free: 12.57 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.7535, allocations: 104 kB / 1.006 GB, free: 12.47 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001905/0.7554, allocations: 1.525 MB / 1.008 GB, free: 10.83 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.7555, allocations: 3.938 kB / 1.008 GB, free: 10.83 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.971e-05/0.7556, allocations: 48 kB / 1.008 GB, free: 10.78 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.299e-05/0.7556, allocations: 61.47 kB / 1.008 GB, free: 10.72 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00129/0.7569, allocations: 1.025 MB / 1.009 GB, free: 9.699 MB / 0.7637 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.005622/0.7626, allocations: 5.848 MB / 1.015 GB, free: 3.539 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005462/0.7631, allocations: 318.4 kB / 1.015 GB, free: 3.191 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002953/0.7634, allocations: 248.7 kB / 1.015 GB, free: 2.938 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007278/0.7642, allocations: 0.7116 MB / 1.016 GB, free: 2.078 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.7642, allocations: 46.44 kB / 1.016 GB, free: 2.023 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=28): time 2.815e-06/0.7642, allocations: 0 / 1.016 GB, free: 2.023 MB / 0.7637 GB Notification: Performance of matching and sorting (n=28): time 0.001227/0.7654, allocations: 0.6698 MB / 1.017 GB, free: 1.348 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.548e-05/0.7655, allocations: 132.5 kB / 1.017 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001852/0.7674, allocations: 1.686 MB / 1.018 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.74e-05/0.7674, allocations: 33.7 kB / 1.018 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004734/0.7679, allocations: 0.5622 MB / 1.019 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.892e-05/0.768, allocations: 98.64 kB / 1.019 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.7681, allocations: 65.7 kB / 1.019 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.7682, allocations: 314 kB / 1.019 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/0.7684, allocations: 155.9 kB / 1.02 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002907/0.7687, allocations: 280.3 kB / 1.02 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004537/0.7692, allocations: 412.9 kB / 1.02 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.7692, allocations: 0 / 1.02 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006787/0.7699, allocations: 0.5463 MB / 1.021 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.7699, allocations: 4 kB / 1.021 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.7699, allocations: 4 kB / 1.021 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.7699, allocations: 4 kB / 1.021 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002075/0.7702, allocations: 55.84 kB / 1.021 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.7702, allocations: 8.125 kB / 1.021 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004431/0.7706, allocations: 106.6 kB / 1.021 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.026e-05/0.7707, allocations: 27.92 kB / 1.021 GB, free: 12.75 MB / 0.7794 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.0003956/0.7711, allocations: 374.3 kB / 1.021 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001972/0.7713, allocations: 142.2 kB / 1.021 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005227/0.7718, allocations: 382.1 kB / 1.022 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.7718, allocations: 8 kB / 1.022 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.7718, allocations: 3.938 kB / 1.022 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.7719, allocations: 4 kB / 1.022 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003016/0.7749, allocations: 2.518 MB / 1.024 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.7749, allocations: 11.94 kB / 1.024 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001751/0.7751, allocations: 51.98 kB / 1.024 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.395e-05/0.7751, allocations: 8 kB / 1.024 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/0.7751, allocations: 12 kB / 1.024 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.698e-06/0.7751, allocations: 11.98 kB / 1.024 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/0.7752, allocations: 7.938 kB / 1.024 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006319/0.7758, allocations: 0.6184 MB / 1.025 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003603/0.7762, allocations: 299.1 kB / 1.025 GB, free: 7.992 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001505/0.7763, allocations: 12 kB / 1.025 GB, free: 7.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003231/0.7766, allocations: 12 kB / 1.025 GB, free: 7.969 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/0.7767, allocations: 35.84 kB / 1.025 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.05e-05/0.7767, allocations: 20 kB / 1.025 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001351/0.7781, allocations: 1.223 MB / 1.027 GB, free: 6.695 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7781, allocations: 0 / 1.027 GB, free: 6.695 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0008412/0.7789, allocations: 323.8 kB / 1.027 GB, free: 6.379 MB / 0.7794 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.002059/0.781, allocations: 1.675 MB / 1.029 GB, free: 4.609 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004997/0.7815, allocations: 355.4 kB / 1.029 GB, free: 4.262 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.7815, allocations: 4.375 kB / 1.029 GB, free: 4.258 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000177/0.7817, allocations: 159.6 kB / 1.029 GB, free: 4.102 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003088/0.7848, allocations: 0.9232 MB / 1.03 GB, free: 3.207 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01132/0.7961, allocations: 10.47 MB / 1.04 GB, free: 8.395 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007331/0.7969, allocations: 1.216 MB / 1.041 GB, free: 7.148 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0007241/0.7976, allocations: 294.7 kB / 1.042 GB, free: 6.855 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004789/0.7981, allocations: 463.3 kB / 1.042 GB, free: 6.402 MB / 0.795 GB Notification: Performance of SimCode: time 7.72e-07/0.7981, allocations: 0 / 1.042 GB, free: 6.402 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07193/0.8701, allocations: 44.59 MB / 1.086 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.667/10.54, allocations: 11.86 kB / 1.086 GB, free: 10.33 MB / 0.8419 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)